Is it possible to make a script for certain number of rows in Sql Server 2008? -
i have table 100k+ rows of data. possible generate script (inserts) using mssql server 2008 last 1000 rows of data? e.g. tasks > generate scripts... making inserts data in table. script heavy. know can use query > results file. , write program parse results , generate scripts, exist better way?
no, i'm pretty sure out of luck far having ssms doing you. said, can select data want, export , manipulation create insert script. sql server 2008 simple as
insert mytable (col1, col2) values (1,'test1'), (2,'test2'), (3,'test3'), --997 more
it still take work @ least wont have write insert mytable
part 1000 times...