code_junkie

How do I restrict the number of records to be processed in an SSIS package?

Nov 12th, 2011
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. SET IDENTITY_INSERT dbo.dev_table ON
  2. INSERT INTO dev_table (Id, Col1,Col2,Col3,Col4)
  3. SELECT TOP 10000 Id, Col1, Col2, Col3, Col4 FROM prod_table
  4. SET IDENTITY_INSERT dbo.dev_table OFF
Add Comment
Please, Sign In to add comment