how to make insert script from table in sql server

Solutions on MaxInterview for how to make insert script from table in sql server by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how to make insert script from table in sql server"
Dorla
12 Feb 2018
1Right-click on the database and go to Tasks > Generate Scripts.
2Select the tables (or objects) that you want to generate the script against.
3Go to Set scripting options tab and click on the Advanced button.
4In the General category, go to Type of data to script
5There are 3 options: Schema Only, Data Only, and Schema and Data. Select the appropriate option and click on OK.