all groups > sql server odbc > july 2003 >
You're in the

sql server odbc

group:

Oracle ODBC driver BIGINT conversion


Oracle ODBC driver BIGINT conversion Peter
7/28/2003 6:13:24 PM
sql server odbc:
Hi,
I want to bing a placeholder for stored procedure using following:
SQLBindParameter(m_hstmt, ++m_nParamCount, SQL_PARAM_INPUT,

SQL_INTEGER,

SQL_DECIMAL,

0, 0,(SQLPOINTER)piValue, 0, NULL));



but it works only for signed long .



How can I use SQLBindParameter for a BIGINT type in C++?



TIA


Peter

Re: Oracle ODBC driver BIGINT conversion Brannon Jones
8/13/2003 5:12:10 PM
You want to use the SQL_C_SBIGINT and SQL_BIGINT types.

[quoted text, click to view]

AddThis Social Bookmark Button