Is there some way to pass a table-valued parameter to a stored procedure in SQL Server via classic ADO?
Sql-server – Classic ADO and Table-Valued Parameters in Stored Procedure
adosql serverstored-proceduresvb6
Related Topic
- Sql – Parameterize an SQL IN clause
- Sql – Insert results of a stored procedure into a temporary table
- Sql – Function vs. Stored Procedure in SQL Server
- Sql – How to check if a stored procedure exists before creating it
- C# – How to pass table value parameters to stored procedure from .net code
- Sql-server – Get size of all tables in database
- C# – How to pass an array into a SQL Server stored procedure
- Sql – Search text in stored procedure in SQL Server
Best Answer
Classic ADO is COM and OLE and the SQL Native Client supports Table Valued Parameters over OleDB, see Table-Valued Parameters (OLE DB). One would have to get its hand dirty and code straight to the OleDB interfaces (in C/C++).
Also TVPs are only in SQL 2008, so you won't be able to use them in SQL 2005.
BTW, for completness here is the Table Valued Parameters (ODBC) reference, for the ODBC nostalgics out there...