Script the database Objects and restore them on the server
To script the database objects you can use Generate Scripts Task.- Generate Scripts Task can be found in MS SQL Server management studio.
- Right Click on the database -> Click On Tasks -> Then Click on Generate Scripts…
Run through the wizard.
In the set scripting options tab in the generate scripts wizard click on advanced and select the following options:- For ‘types of data to script’ option Select ‘Schema and data’
- For ‘Script for version’ select the required target MS SQL Server version
- Generate the scripts and run the generated scripts on the destination server.

