This is a discussion on Oracle ODBC driver BIGINT conversion within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> 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, ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| You want to use the SQL_C_SBIGINT and SQL_BIGINT types. "Peter" <peter@jaalam.com> wrote in message news:ez7kc6WVDHA.1928@TK2MSFTNGP12.phx.gbl... > 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 > > |