SQL Server 2008 - Table Valued Parameters vs XML vs CSV
Read OriginalThis technical article compares three approaches for passing a set of keys to a SQL Server stored procedure to retrieve matching records. It details the implementation of CSV string parsing (common in SQL Server 2000), using the XML data type (introduced in SQL Server 2005), and the newer Table Valued Parameters feature from SQL Server 2008, providing code examples and discussing the evolution of best practices in database development.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser