If you have to insert more than one row of data in a Table, you end up executing the insert statement / stored procedure as many times for each row, with Table-valued parameters you can send multiple rows of data to a single TSQL statement or stored procedure without creating temp tables or doing multiple round trips.
Table-valued parameters are a new parameter type in SQL Server 2008 and are declared by using user-defined table types.
Watch the screencast(SWF)
Watch the screencast(WMV)
Saturday, December 1, 2007
Screencast: SQL Server 2008 - Table valued parameters
Posted by Denis at 11:02 AM
Labels: Screen Cast, SQL Server 2008, Table valued parameters
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment