December 17, 2009 08:17 PM

Passing a Table Variable from SSIS

By using table variables as parameters, you can make code maintenance easier.
Rating: (1)
SQL Server Magazine
InstantDoc ID #103016
Table variables have been around since SQL Server 2000, but in SQL Server 2008 you can use them as parameters. No more comma-separated strings, parsing with functions, staging tables, custom CLRs, tricky uses of the file system, or bulk inserts. Combine table variables with the power of SQL Server Integration Services (SSIS) and you can implement an inserting task that reduces the need for row-by-row processing, simplifies code for maintainability, and keeps trips to the database at a minimum. In this article, I'll show you how to create a stored procedure that takes a table variable as a parameter and an SSIS package that implements it.

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

Good article, but the new web site formula doesn't help readers to test it...

Where are the listings? I would prefer not to type everything myself if I can download the scripts... In the printed version of the magazine it says: "Download the listings at Instant Doc ID 103016". How?
It seems that this new format of the web site misses a lot of links and is way harder to navigate than the previous one! Newer doesn't always mean better...

Nanau3/14/2010 11:18:17 AM


You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS