Pass Tables to Stored Procedure / Table Valued Parameter

Posted by: ASPAlliance.com - The #1 ASP.NET Community, on 06 Nov 2009 | View original | Bookmarked: 0 time(s)

When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a SQLBulkCopy object available in .NET to send multiple rows of data to SQL Server at once, but this still cannot be passed to a stored procedure. SQL Server 2008 provides a new feature called "Table-Valued Parameters". This provides us the ability to easily...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: SQL | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 2089 | Hits: 152

Similar Posts

  • Introducing Versatile DataSources more
  • Using Stored Procedures for CRUD more
  • Dynamic Delegates with Expression Trees more
  • Silverlight and Data Communications more
  • Entity Framework and Read Stored Procedures - a new perspective more
  • SQL SERVER - 2008 - Introduction to Table-Valued Parameters with Example more
  • Using XML to perform database operations rather than parameterized query? more
  • Delete Stored Procs and Navigations in the Entity Data Model more
  • Foundations of Programming - Part 6 - NHibernate more
  • Strong Coders Generic Data Access Library more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD