August 21, 2009 at 6:54 am
There's one more doubt..
I have a table X, X is populated in another schema, I have the same table structure, named Y.
I want a dynamic query which takes each values of each column and builds an insert.
insert into y values (1,2,3)
insert into y values (4,5,6)
There are many datatypes on this table, smalldatetime,smallint, varchar...
Thanks!!
August 21, 2009 at 7:29 am
get the script from here:http://vyaskn.tripod.com/code/generate_inserts_2005.txt
you simply pass the proc the table name,a dn it builds INSERT INTO YOURTABLENAME statements.
Lowell
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply