How to transfer database to another system

I am using a surface pro tablet as POS after using it for a long time it keep on freezing, (not sure it is sambaPOS or not, no buttons are working) i believe it is because of the hardware so I am gona change it to other pos system, I am using SQL server as database so how can I transfer the database to the new system?


thanks @diannurlia, let me try that.
I have installed database tool and exported the data, but when i try to import it in the new system it showing an error.

Can you PM me a zip file that contains the backup of the target database and the export file?