To generate script in SQL server with data you need to follow the following step
- Open SQL server management studio
- expand database
- Right-click in the database on which you want to generate a script with data
- Click on Task
- Click on generate script
- choose the option with script entire database and all database objects and click on next
- Click on the advanced option
- Choose SQL server version for which version you want to generate script
- select Schema and data option of Types of data to script
- choose true on Script Triggers
- chose a location where you want to generate a script file
- Click next
- after finish, all tasks click on the finish
your script will save in to drive
0 Comments
thank you for your comment