Buscando un ejemplo de línea, cómo vincular e insertar un valor nulo en una base de datos utilizando la API ODBC
La funcion es SQLRETURN SQLBindParameter( SQLHSTMT StatementHandle, SQLUSMALLINT ParameterNumber, SQLSMALLINT InputOutputType, SQLSMALLINT ValueType, SQLSMALLINT ParameterType, SQLULEN ColumnSize, SQLSMALLINT DecimalDigits, SQLPOINTER ParameterValuePtr, SQLLEN BufferLength, SQLLEN * StrLen_or_IndPtr); Las documentaciones que he visto son confusas. Los srguments dependen del tipo de datos o no. Encontré un ejemplo aquí http://support.microsoft.com/kb/248799 que parece no funcionar en DB2. Pensé que […]