Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

2008 ODBC tvp woes......

7 views
Skip to first unread message

Leon McCalla

unread,
Nov 27, 2009, 5:37:24 AM11/27/09
to
I've spent the better part of a day trying to pass a Table to a stored
procedure from C using TVPs and ODBC and its kicking my butt.

1) neither SQL_DIAG_SS_TABLE_COLUMN_NUMBER nor SQL_DIAG_SS_TABLE_ROW_NUMBER
seem to be available under VS2005 w/ SQL 2008 server so I'm sort of flying
blind with the errors.

2) it just occurred to me that I'm using row-wise binding when the
descriptions talk about column binding. Can I legally use row-wise binding?
id rather add the row-wise switches than try to recode about 100 lines of
code.

Leon

0 new messages