Krishna1 (3/4/2013)
Dear AllFor one table I need to create insert statemetn with data. For this I used SSMS-Task -Generate script - Data only it creates inserts will all the rows.
But i need only few selected rows.Hence created a view and tried the same thing but it does not generate insert script with data.
I am doing somthing wrong?
Regards
INSERT INTO newtable (columnlist) SELECT columnlist FROM oldtable WHERE...
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden