SQLBindParam 對應

SQLBindParam 不能真正稱為棄用,因為它從未出現在 ODBC 中;然而,它仍代表重複的功能——驅動程式管理員需要匯出,因為符合 ISO 及 Open Group 標準的應用程式會使用此功能。 由於 SQLBindParameter 包含 SQLBindParam 的所有功能,當底層驅動程式為 ODBC 3.x 驅動時,SQLBindParam 會被映射在 SQLBindParameter 之上。 ODBC 3.x 驅動程式不需要實作 SQLBindParam

備註

當呼叫 SQLBindParam 時:

SQLBindParam(   StatementHandle,    ParameterNumber,    ValueType,    ParameterType,    ColumnSize,    DecimalDigits,    ParameterValuePtr,    StrLen_or_IndPtr)  

驅動程式管理器會呼叫驅動程式中的 SQLBindParameter ,具體如下:

SQLBindParameter(   StatementHandle,    ParameterNumber,    SQL_PARAM_INPUT,    ValueType,    ParameterType,    ColumnSize,    DecimalDigits,    ParameterValuePtr,    BufferLength,    StrLen_or_IndPtr)  

如果您的應用程式將在64位作業系統上執行,請參閱 ODBC 64位資訊