SELECT TOP 1000 *
INTO NewTable
FROM OldTable
--or to be more precise (and new table is already defined)
INSERT INTO NewTable
SELECT TOP 1000 * FROM OldTable
"If I were to wake up with my head sewn to the carpet, I wouldn't be more surprised than I am right now.
you really must have an order by in the query to know you have the first 1000. Hopefully you have a filed that will indicate this either by being an insert date or an identity. Otherwise there is no way to guarantee you will get the first 1000 just a random 1000.
"NOTHING is more important in a database than integrity." ESquared
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.