Tips
Streaming rows of SQL Server data to a table valued parameter using a SQLDataReader
Before SQL Server 2008, passing multiple rows of data to a stored procedure was not a straightforward process. This involved additional steps such as creating an XML document from the data values and passing it to the procedure which may insert and update the target data or bulk inserting to a temp table. Fortunately SQL 2008 offers the table valued parameters (TVPs), which makes our lives a little bit easier. In this tip I'll show you how to use a SqlDataReader to stream rows of data to a table-valued parameter from within a .NET client application. Support for TVPs exists beginning with Visual Studio 2008 and ADO.NET 3.5.
Table Value Parameters in SQL Server 2008 and .NET (C#)
We recently upgraded our database to SQL Server 2008 and I want to update our data access C# code to use Table Value Parameters with our stored procedures. In a previous tip I saw that Table Value Parameters were used with Data Warehousing example. Can you show me how to implement Table Value Parameters with my .NET Application to insert multiple records using one round-trip?
Using Table Valued Parameters (TVP) in SQL Server 2008
As we are looking through the new features in SQL Server 2008 we found a potentially interesting one called Table-Valued Parameters. Can you give us a detailed explanation of how we go about using this one?
Top 10
Table Value Parameters in SQL Server 2008 and .NET (C#)
We recently upgraded our database to SQL Server 2008 and I want to update our data access C# code to use Table Value Parameters with our stored procedures. In a previous tip I saw that Table Value Parameters were used with Data Warehousing example. Can you show me how to implement Table Value Parameters with my .NET Application to insert multiple records using one round-trip?
Streaming rows of SQL Server data to a table valued parameter using a SQLDataReader
Before SQL Server 2008, passing multiple rows of data to a stored procedure was not a straightforward process. This involved additional steps such as creating an XML document from the data values and passing it to the procedure which may insert and update the target data or bulk inserting to a temp table. Fortunately SQL 2008 offers the table valued parameters (TVPs), which makes our lives a little bit easier. In this tip I'll show you how to use a SqlDataReader to stream rows of data to a table-valued parameter from within a .NET client application. Support for TVPs exists beginning with Visual Studio 2008 and ADO.NET 3.5.
Using Table Valued Parameters (TVP) in SQL Server 2008
As we are looking through the new features in SQL Server 2008 we found a potentially interesting one called Table-Valued Parameters. Can you give us a detailed explanation of how we go about using this one?
Last 10
Streaming rows of SQL Server data to a table valued parameter using a SQLDataReader
Before SQL Server 2008, passing multiple rows of data to a stored procedure was not a straightforward process. This involved additional steps such as creating an XML document from the data values and passing it to the procedure which may insert and update the target data or bulk inserting to a temp table. Fortunately SQL 2008 offers the table valued parameters (TVPs), which makes our lives a little bit easier. In this tip I'll show you how to use a SqlDataReader to stream rows of data to a table-valued parameter from within a .NET client application. Support for TVPs exists beginning with Visual Studio 2008 and ADO.NET 3.5.
Table Value Parameters in SQL Server 2008 and .NET (C#)
We recently upgraded our database to SQL Server 2008 and I want to update our data access C# code to use Table Value Parameters with our stored procedures. In a previous tip I saw that Table Value Parameters were used with Data Warehousing example. Can you show me how to implement Table Value Parameters with my .NET Application to insert multiple records using one round-trip?
Using Table Valued Parameters (TVP) in SQL Server 2008
As we are looking through the new features in SQL Server 2008 we found a potentially interesting one called Table-Valued Parameters. Can you give us a detailed explanation of how we go about using this one?