Apr 18, 2006 #1 Aett MIS Joined Jan 30, 2006 Messages 15 Location US Greetings all, what command do I need to use to append the first or top 3000 rows from 1 table to another? Thank you in advance.
Greetings all, what command do I need to use to append the first or top 3000 rows from 1 table to another? Thank you in advance.
Apr 18, 2006 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR INSERT INTO [another table] SELECT TOP 3000 * FROM [1 table] ORDER BY yourSortField(s) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
INSERT INTO [another table] SELECT TOP 3000 * FROM [1 table] ORDER BY yourSortField(s) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Apr 19, 2006 Thread starter #3 Aett MIS Joined Jan 30, 2006 Messages 15 Location US Yes it helped, thank you! Upvote 0 Downvote