Generate a script in SQL Server 2005 with data

How can I generate a script in SQL Server 2005 with data in a table?

+5
source share
4 answers

Unfortunately, the script data parameters along with the schema were not displayed until SQL Server 2008, so I think you are stuck with third-party options.

+4
source

, , , script, .

, :

  • script (RightClick on Database > Tasks > > script )
  • (RightClick on Database > Tasks > Backup)

, :

  • script
  • [ ] > > .

, SQL Server 2005.

0
source

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!

0
source

All Articles