I have a table with 100 records. Now I want to generate INSERT statements with the same data. How will you generate?
Open SSMS — Right click on Database — Tasks — Generate scripts — Next — Select specific database objects — select your table — Next — Select the output type — Advanced — Select data only from Types of data to script property — Ok — Next — Next — Click on Finish after completion of execution.
Latest Comments
hi chandra,
very nice website,covered from very basics in Sql to high level.
Thanks Laavanya.