Right click on the database. Then select "Tasks-> Generate Scripts"
See image here
Then select the table or tables that you need to insert the script to create.
see image here
Now click Next and click "Advanced" and select "Data Types in Script".
see image here
Finally, next, next, you will get all your data in the insert scripts. Bye!
source
share