Skip to content

ODBCFFI

[Source]

ODBC Function Summary

The following table lists ODBC functions, grouped by type of task, and includes the conformance designation and a brief description of the purpose of each function. For more information about conformance designations, see ODBC and the Standard CLI. For more information about the syntax and semantics for each function, see ODBC API Reference.

An application can call the SQLGetInfo function to obtain conformance information about a driver. To obtain information about support for a specific function in a driver, an application can call SQLGetFunctions.

Task Function name Conformance Purpose
Connecting to a data source SQLAllocHandle ISO 92 Obtains an environment, connection, statement, or descriptor handle.
SQLConnect ISO 92 Connects to a specific driver by data source name, user ID, and password.
SQLDriverConnect ODBC Connects to a specific driver by connection string or requests that the Driver Manager and driver display connection dialog boxes for the user.
SQLBrowseConnect ODBC Returns successive levels of connection attributes and valid attribute values. When a value has been specified for each connection attribute, connects to the data source.
Obtaining information about a driver and data source SQLDataSources

SQLDrivers
ISO 92

ODBC
Returns the list of available data sources.

Returns the list of installed drivers and their attributes.
SQLGetInfo ISO 92 Returns information about a specific driver and data source.
SQLGetFunctions ISO 92 Returns supported driver functions.
SQLGetTypeInfo ISO 92 Returns information about supported data types.
Setting and retrieving driver attributes SQLSetConnectAttr

SQLGetConnectAttr
ISO 92

ISO 92
Sets a connection attribute.

Returns the value of a connection attribute.
SQLSetEnvAttr ISO 92 Sets an environment attribute.
SQLGetEnvAttr ISO 92 Returns the value of an environment attribute.
SQLSetStmtAttr ISO 92 Sets a statement attribute.
SQLGetStmtAttr ISO 92 Returns the value of a statement attribute.
Setting and retrieving descriptor fields SQLGetDescField

SQLGetDescRec
ISO 92

ISO 92
Returns the value of a single descriptor field.

Returns the values of multiple descriptor fields.
SQLSetDescField ISO 92 Sets a single descriptor field.
SQLSetDescRec ISO 92 Sets multiple descriptor fields.
SQLCopyDesc ISO 92 Copies descriptor information from one descriptor handle to another.
Preparing SQL requests SQLPrepare ISO 92 Prepares a SQL statement for later execution.
SQLBindParameter ODBC Assigns storage for a parameter in a SQL statement.
SQLGetCursorName ISO 92 Returns the cursor name associated with a statement handle.
SQLSetCursorName ISO 92 Specifies a cursor name.
SQLSetScrollOptions ODBC Sets options that control cursor behavior.
Submitting requests SQLExecute

SQLExecDirect
ISO 92

ISO 92
Executes a prepared statement.

Executes a statement.
SQLNativeSql ODBC Returns the text of a SQL statement as translated by the driver.
SQLDescribeParam ODBC Returns the description for a specific parameter in a statement.
SQLNumParams ISO 92 Returns the number of parameters in a statement.
SQLParamData ISO 92 Used in conjunction with SQLPutData to supply parameter data at execution time. (Useful for long data values.)
SQLPutData ISO 92 Sends part or all of a data value for a parameter. (Useful for long data values.)
Retrieving results and information about results SQLRowCount

SQLNumResultCols
ISO 92

ISO 92
Returns the number of rows affected by an insert, update, or delete request.

Returns the number of columns in the result set.
SQLDescribeCol ISO 92 Describes a column in the result set.
SQLColAttribute ISO 92 Describes attributes of a column in the result set.
SQLBindCol ISO 92 Assigns storage for a result column and specifies the data type.
SQLFetch ISO 92 Returns multiple result rows.
SQLFetchScroll ISO 92 Returns scrollable result rows.
SQLGetData ISO 92 Returns part or all of one column of one row of a result set. (Useful for long data values.)
SQLSetPos ODBC Positions a cursor within a fetched block of data and allows an application to refresh data in the rowset or to update or delete data in the result set.
SQLBulkOperations ODBC Performs bulk insertions and bulk bookmark operations, including update, delete, and fetch by bookmark.
SQLMoreResults ODBC Determines whether there are more result sets available and, if so, initializes processing for the next result set.
SQLGetDiagField ISO 92 Returns additional diagnostic information (a single field of the diagnostic data structure).
SQLGetDiagRec ISO 92 Returns additional diagnostic information (multiple fields of the diagnostic data structure).
Obtaining information about the data source's system tables (catalog functions) SQLColumnPrivileges

SQLColumns
ODBC

Open Group
Returns a list of columns and associated privileges for one or more tables.

Returns the list of column names in specified tables.
SQLForeignKeys ODBC Returns a list of column names that make up foreign keys, if they exist for a specified table.
SQLPrimaryKeys ODBC Returns the list of column names that make up the primary key for a table.
SQLProcedureColumns ODBC Returns the list of input and output parameters, as well as the columns that make up the result set for the specified procedures.
SQLProcedures ODBC Returns the list of procedure names stored in a specific data source.
SQLSpecialColumns Open Group Returns information about the optimal set of columns that uniquely identifies a row in a specified table, or the columns that are automatically updated when any value in the row is updated by a transaction.
SQLStatistics ISO 92 Returns statistics about a single table and the list of indexes associated with the table.
SQLTablePrivileges ODBC Returns a list of tables and the privileges associated with each table.
SQLTables Open Group Returns the list of table names stored in a specific data source.
Terminating a statement SQLFreeStmt ISO 92 Ends statement processing, discards pending results, and, optionally, frees all resources associated with the statement handle.
SQLCloseCursor ISO 92 Closes a cursor that has been opened on a statement handle.
SQLCancel ISO 92 Cancels the processing on a statement.
SQLCancelHandle ODBC Cancels the processing on a statement or connection.
SQLEndTran ISO 92 Commits or rolls back a transaction.
Terminating a connection SQLDisconnect

SQLFreeHandle
ISO 92

ISO 92
Closes the connection.

Releases an environment, connection, statement, or descriptor handle.
primitive val ODBCFFI

Constructors

create

[Source]

new val create()
: ODBCFFI val^

Returns


Public Functions

pSQLAllocConnect

[Source]

fun box pSQLAllocConnect(
  pEnvironmentHandle: ODBCHandleEnv tag,
  pConnectionHandle: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLAllocHandle_env

[Source]

fun box pSQLAllocHandle_env(
  pOutputHandle: EnvWrapper ref)
: I16 val

Parameters

Returns


pSQLAllocHandle_dbc

[Source]

fun box pSQLAllocHandle_dbc(
  pInputHandle: ODBCHandleEnv tag,
  pOutputHandle: DbcWrapper ref)
: I16 val

Parameters

Returns


pSQLAllocHandle_stmt

[Source]

fun box pSQLAllocHandle_stmt(
  pInputHandle: ODBCHandleDbc tag,
  pOutputHandle: StmtWrapper ref)
: I16 val

Parameters

Returns


pSQLBindCol_varchar

[Source]

fun box pSQLBindCol_varchar(
  pStatementHandle: ODBCHandleStmt tag,
  pColumnNumber: U16 val,
  pTargetType: I16 val,
  pTargetValue: Pointer[U8 val] tag,
  pBufferLength: I64 val,
  pStrLenorInd: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLCancel

[Source]

fun box pSQLCancel(
  pStatementHandle: ODBCHandleStmt tag)
: I16 val

Parameters

Returns


pSQLCloseCursor

[Source]

fun box pSQLCloseCursor(
  pStatementHandle: ODBCHandleStmt tag)
: I16 val

Parameters

Returns


pSQLColAttribute

[Source]

fun box pSQLColAttribute(
  pStatementHandle: ODBCHandleStmt tag,
  pColumnNumber: U16 val,
  pFieldIdentifier: U16 val,
  pCharacterAttribute: Pointer[None val] tag,
  pBufferLength: I16 val,
  pStringLength: CBoxedI16 ref,
  pNumericAttribute: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLColumns

[Source]

fun box pSQLColumns(
  pStatementHandle: ODBCHandleStmt tag,
  pCatalogName: Pointer[U8 val] tag,
  pNameLength1: I16 val,
  pSchemaName: Pointer[U8 val] tag,
  pNameLength2: I16 val,
  pTableName: Pointer[U8 val] tag,
  pNameLength3: I16 val,
  pColumnName: Pointer[U8 val] tag,
  pNameLength4: I16 val)
: I16 val

Parameters

Returns


pSQLConnect

[Source]

fun box pSQLConnect(
  pConnectionHandle: ODBCHandleDbc tag,
  pServerName: String val,
  pNameLength1: I16 val,
  pUserName: String val,
  pNameLength2: I16 val,
  pAuthentication: String val,
  pNameLength3: I16 val)
: I16 val

Parameters

Returns


pSQLCopyDesc

[Source]

fun box pSQLCopyDesc(
  pSourceDescHandle: Pointer[None val] tag,
  pTargetDescHandle: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLDataSources

[Source]

fun box pSQLDataSources(
  pEnvironmentHandle: ODBCHandleEnv tag,
  pDirection: U16 val,
  pServerName: String val,
  pBufferLength1: I16 val,
  pNameLength1: CBoxedI16 ref,
  pDescription: String val,
  pBufferLength2: I16 val,
  pNameLength2: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLDescribeCol

[Source]

fun box pSQLDescribeCol(
  pStatementHandle: ODBCHandleStmt tag,
  pColumnNumber: U16 val,
  pColumnName: String val,
  pBufferLength: I16 val,
  pNameLength: CBoxedI16 ref,
  pDataType: CBoxedI16 ref,
  pColumnSize: CBoxedU64 ref,
  pDecimalDigits: CBoxedI16 ref,
  pNullable: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLDisconnect

[Source]

fun box pSQLDisconnect(
  pConnectionHandle: ODBCHandleDbc tag)
: I16 val

Parameters

Returns


pSQLEndTran_dbc

[Source]

fun box pSQLEndTran_dbc(
  pHandleType: I16 val,
  pHandle: ODBCHandleDbc tag,
  pCompletionType: I16 val)
: I16 val

Parameters

Returns


pSQLError

[Source]

fun box pSQLError(
  pEnvironmentHandle: ODBCHandleEnv tag,
  pConnectionHandle: Pointer[None val] tag,
  pStatementHandle: ODBCHandleStmt tag,
  pSqlstate: String val,
  pNativeError: CBoxedI32 ref,
  pMessageText: String val,
  pBufferLength: I16 val,
  pTextLength: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLExecDirect

[Source]

fun box pSQLExecDirect(
  pStatementHandle: ODBCHandleStmt tag,
  pStatementText: String val,
  pTextLength: I32 val)
: I16 val

Parameters

Returns


pSQLExecute

[Source]

fun box pSQLExecute(
  pStatementHandle: ODBCHandleStmt tag)
: I16 val

Parameters

Returns


pSQLFetch

[Source]

fun box pSQLFetch(
  pStatementHandle: ODBCHandleStmt tag)
: I16 val

Parameters

Returns


pSQLFetchScroll

[Source]

fun box pSQLFetchScroll(
  pStatementHandle: ODBCHandleStmt tag,
  pFetchOrientation: I16 val,
  pFetchOffset: I64 val)
: I16 val

Parameters

Returns


pSQLFreeConnect

[Source]

fun box pSQLFreeConnect(
  pConnectionHandle: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLFreeHandle_env

[Source]

fun box pSQLFreeHandle_env(
  pHandle: ODBCHandleEnv tag)
: I16 val

Parameters

Returns


pSQLFreeHandle_dbc

[Source]

fun box pSQLFreeHandle_dbc(
  pHandle: ODBCHandleDbc tag)
: I16 val

Parameters

Returns


pSQLFreeHandle_stmt

[Source]

fun box pSQLFreeHandle_stmt(
  pHandle: ODBCHandleStmt tag)
: I16 val

Parameters

Returns


pSQLFreeStmt

[Source]

fun box pSQLFreeStmt(
  pStatementHandle: ODBCHandleStmt tag,
  pOption: U16 val)
: I16 val

Parameters

Returns


pSQLGetConnectAttr_i32

[Source]

fun box pSQLGetConnectAttr_i32(
  pConnectionHandle: ODBCHandleDbc tag,
  pAttribute: I32 val,
  pValue: CBoxedI32 ref,
  pBufferLength: I32 val,
  pStringLength: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetConnectOption

[Source]

fun box pSQLGetConnectOption(
  pConnectionHandle: Pointer[None val] tag,
  pOption: U16 val,
  pValue: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLGetCursorName

[Source]

fun box pSQLGetCursorName(
  pStatementHandle: ODBCHandleStmt tag,
  pCursorName: String val,
  pBufferLength: I16 val,
  pNameLength: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetData

[Source]

fun box pSQLGetData(
  pStatementHandle: ODBCHandleStmt tag,
  pColumnNumber: U16 val,
  pTargetType: I16 val,
  pTargetValue: Pointer[U8 val] tag,
  pBufferLength: I64 val,
  pStrLenorInd: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLGetDescField

[Source]

fun box pSQLGetDescField(
  pDescriptorHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pFieldIdentifier: I16 val,
  pValue: Pointer[None val] tag,
  pBufferLength: I32 val,
  pStringLength: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetDescRec

[Source]

fun box pSQLGetDescRec(
  pDescriptorHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pName: String val,
  pBufferLength: I16 val,
  pStringLength: CBoxedI16 ref,
  pType: CBoxedI16 ref,
  pSubType: CBoxedI16 ref,
  pLength: CBoxedI64 tag,
  pPrecision: CBoxedI16 ref,
  pScale: CBoxedI16 ref,
  pNullable: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetDiagField

[Source]

fun box pSQLGetDiagField(
  pHandleType: I16 val,
  pHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pDiagIdentifier: I16 val,
  pDiagInfo: Pointer[None val] tag,
  pBufferLength: I16 val,
  pStringLength: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetDiagRec

[Source]

fun box pSQLGetDiagRec(
  pHandleType: I16 val,
  pHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pSqlstate: String val,
  pNativeError: CBoxedI32 ref,
  pMessageText: String val,
  pBufferLength: I16 val,
  pTextLength: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetEnvAttr_i32

[Source]

fun box pSQLGetEnvAttr_i32(
  pEnvironmentHandle: ODBCHandleEnv tag,
  pAttribute: I32 val,
  pValue: CBoxedI32 ref,
  pBufferLength: I32 val,
  pStringLength: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetFunctions

[Source]

fun box pSQLGetFunctions(
  pConnectionHandle: Pointer[None val] tag,
  pFunctionId: U16 val,
  pSupported: CBoxedU16 ref)
: I16 val

Parameters

Returns


pSQLGetInfo_varchar

[Source]

fun box pSQLGetInfo_varchar(
  pConnectionHandle: ODBCHandleDbc tag,
  pInfoType: U16 val,
  pInfoValue: Pointer[U8 val] tag,
  pBufferLength: I16 val,
  pStringLength: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetStmtAttr

[Source]

fun box pSQLGetStmtAttr(
  pStatementHandle: ODBCHandleStmt tag,
  pAttribute: I32 val,
  pValue: Pointer[None val] tag,
  pBufferLength: I32 val,
  pStringLength: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetStmtOption

[Source]

fun box pSQLGetStmtOption(
  pStatementHandle: ODBCHandleStmt tag,
  pOption: U16 val,
  pValue: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLGetTypeInfo

[Source]

fun box pSQLGetTypeInfo(
  pStatementHandle: ODBCHandleStmt tag,
  pDataType: I16 val)
: I16 val

Parameters

Returns


pSQLNumResultCols

[Source]

fun box pSQLNumResultCols(
  pStatementHandle: ODBCHandleStmt tag,
  pColumnCount: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLParamData

[Source]

fun box pSQLParamData(
  pStatementHandle: ODBCHandleStmt tag,
  pValue: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLPrepare

[Source]

fun box pSQLPrepare(
  pStatementHandle: ODBCHandleStmt tag,
  pStatementText: String val,
  pTextLength: I32 val)
: I16 val

Parameters

Returns


pSQLPutData

[Source]

fun box pSQLPutData(
  pStatementHandle: ODBCHandleStmt tag,
  pData: Pointer[None val] tag,
  pStrLenorInd: I64 val)
: I16 val

Parameters

Returns


pSQLRowCount

[Source]

fun box pSQLRowCount(
  pStatementHandle: ODBCHandleStmt tag,
  pRowCount: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLSetConnectAttr_i32

[Source]

fun box pSQLSetConnectAttr_i32(
  pConnectionHandle: ODBCHandleDbc tag,
  pAttribute: I32 val,
  pValue: I32 val,
  pStringLength: I32 val)
: I16 val

Parameters

Returns


pSQLSetConnectOption

[Source]

fun box pSQLSetConnectOption(
  pConnectionHandle: Pointer[None val] tag,
  pOption: U16 val,
  pValue: U64 val)
: I16 val

Parameters

Returns


pSQLSetCursorName

[Source]

fun box pSQLSetCursorName(
  pStatementHandle: ODBCHandleStmt tag,
  pCursorName: String val,
  pNameLength: I16 val)
: I16 val

Parameters

Returns


pSQLSetDescField

[Source]

fun box pSQLSetDescField(
  pDescriptorHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pFieldIdentifier: I16 val,
  pValue: Pointer[None val] tag,
  pBufferLength: I32 val)
: I16 val

Parameters

Returns


pSQLSetDescRec

[Source]

fun box pSQLSetDescRec(
  pDescriptorHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pType: I16 val,
  pSubType: I16 val,
  pLength: I64 val,
  pPrecision: I16 val,
  pScale: I16 val,
  pData: Pointer[None val] tag,
  pStringLength: CBoxedI64 tag,
  pIndicator: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLSetEnvAttr

[Source]

fun box pSQLSetEnvAttr(
  pEnvironmentHandle: ODBCHandleEnv tag,
  pAttribute: I32 val,
  pValue: I32 val,
  pStringLength: I32 val)
: I16 val

Parameters

Returns


pSQLSetStmtAttr

[Source]

fun box pSQLSetStmtAttr(
  pStatementHandle: ODBCHandleStmt tag,
  pAttribute: I32 val,
  pValue: Pointer[None val] tag,
  pStringLength: I32 val)
: I16 val

Parameters

Returns


pSQLSetStmtOption

[Source]

fun box pSQLSetStmtOption(
  pStatementHandle: ODBCHandleStmt tag,
  pOption: U16 val,
  pValue: U64 val)
: I16 val

Parameters

Returns


pSQLSpecialColumns

[Source]

fun box pSQLSpecialColumns(
  pStatementHandle: ODBCHandleStmt tag,
  pIdentifierType: U16 val,
  pCatalogName: String val,
  pNameLength1: I16 val,
  pSchemaName: String val,
  pNameLength2: I16 val,
  pTableName: String val,
  pNameLength3: I16 val,
  pScope: U16 val,
  pNullable: U16 val)
: I16 val

Parameters

Returns


pSQLStatistics

[Source]

fun box pSQLStatistics(
  pStatementHandle: ODBCHandleStmt tag,
  pCatalogName: String val,
  pNameLength1: I16 val,
  pSchemaName: String val,
  pNameLength2: I16 val,
  pTableName: String val,
  pNameLength3: I16 val,
  pUnique: U16 val,
  pReserved: U16 val)
: I16 val

Parameters

Returns


pSQLTables

[Source]

fun box pSQLTables(
  pStatementHandle: ODBCHandleStmt tag,
  pCatalogName: String val,
  pNameLength1: I16 val,
  pSchemaName: String val,
  pNameLength2: I16 val,
  pTableName: String val,
  pNameLength3: I16 val,
  pTableType: String val,
  pNameLength4: I16 val)
: I16 val

Parameters

Returns


pSQLTransact

[Source]

fun box pSQLTransact(
  pEnvironmentHandle: ODBCHandleEnv tag,
  pConnectionHandle: Pointer[None val] tag,
  pCompletionType: U16 val)
: I16 val

Parameters

Returns


pSQLSetParam

[Source]

fun box pSQLSetParam(
  pStatementHandle: ODBCHandleStmt tag,
  pParameterNumber: U16 val,
  pValueType: I16 val,
  pParameterType: I16 val,
  pLengthPrecision: U64 val,
  pParameterScale: I16 val,
  pParameterValue: Pointer[None val] tag,
  pStrLenorInd: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLDriverConnect

[Source]

fun box pSQLDriverConnect(
  phdbc: Pointer[None val] tag,
  phwnd: Pointer[None val] tag,
  pszConnStrIn: String val,
  pcbConnStrIn: I16 val,
  pszConnStrOut: String val,
  pcbConnStrOutMax: I16 val,
  ppcbConnStrOut: CBoxedI16 ref,
  pfDriverCompletion: U16 val)
: I16 val

Parameters

Returns


pSQLBrowseConnect

[Source]

fun box pSQLBrowseConnect(
  phdbc: Pointer[None val] tag,
  pszConnStrIn: String val,
  pcbConnStrIn: I16 val,
  pszConnStrOut: String val,
  pcbConnStrOutMax: I16 val,
  ppcbConnStrOut: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLBulkOperations

[Source]

fun box pSQLBulkOperations(
  pStatementHandle: ODBCHandleStmt tag,
  pOperation: I16 val)
: I16 val

Parameters

Returns


pSQLColAttributes

[Source]

fun box pSQLColAttributes(
  phstmt: Pointer[None val] tag,
  picol: U16 val,
  pfDescType: U16 val,
  prgbDesc: Pointer[None val] tag,
  pcbDescMax: I16 val,
  ppcbDesc: CBoxedI16 ref,
  ppfDesc: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLColumnPrivileges

[Source]

fun box pSQLColumnPrivileges(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val,
  pszColumnName: String val,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLDescribeParam

[Source]

fun box pSQLDescribeParam(
  phstmt: Pointer[None val] tag,
  pipar: U16 val,
  ppfSqlType: CBoxedI16 ref,
  ppcbParamDef: CBoxedU64 ref,
  ppibScale: CBoxedI16 ref,
  ppfNullable: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLExtendedFetch

[Source]

fun box pSQLExtendedFetch(
  phstmt: Pointer[None val] tag,
  pfFetchType: U16 val,
  pirow: I64 val,
  ppcrow: CBoxedU64 ref,
  prgfRowStatus: CBoxedU16 ref)
: I16 val

Parameters

Returns


pSQLForeignKeys

[Source]

fun box pSQLForeignKeys(
  phstmt: Pointer[None val] tag,
  pszPkCatalogName: String val,
  pcbPkCatalogName: I16 val,
  pszPkSchemaName: String val,
  pcbPkSchemaName: I16 val,
  pszPkTableName: String val,
  pcbPkTableName: I16 val,
  pszFkCatalogName: String val,
  pcbFkCatalogName: I16 val,
  pszFkSchemaName: String val,
  pcbFkSchemaName: I16 val,
  pszFkTableName: String val,
  pcbFkTableName: I16 val)
: I16 val

Parameters

  • phstmt: Pointer[None val] tag
  • pszPkCatalogName: String val
  • pcbPkCatalogName: I16 val
  • pszPkSchemaName: String val
  • pcbPkSchemaName: I16 val
  • pszPkTableName: String val
  • pcbPkTableName: I16 val
  • pszFkCatalogName: String val
  • pcbFkCatalogName: I16 val
  • pszFkSchemaName: String val
  • pcbFkSchemaName: I16 val
  • pszFkTableName: String val
  • pcbFkTableName: I16 val

Returns


pSQLMoreResults

[Source]

fun box pSQLMoreResults(
  phstmt: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLNativeSql

[Source]

fun box pSQLNativeSql(
  phdbc: Pointer[None val] tag,
  pszSqlStrIn: String val,
  pcbSqlStrIn: I32 val,
  pszSqlStr: String val,
  pcbSqlStrMax: I32 val,
  ppcbSqlStr: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLNumParams

[Source]

fun box pSQLNumParams(
  phstmt: Pointer[None val] tag,
  ppcpar: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLParamOptions

[Source]

fun box pSQLParamOptions(
  phstmt: Pointer[None val] tag,
  pcrow: U64 val,
  ppirow: CBoxedU64 ref)
: I16 val

Parameters

Returns


pSQLPrimaryKeys

[Source]

fun box pSQLPrimaryKeys(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val)
: I16 val

Parameters

Returns


pSQLProcedureColumns

[Source]

fun box pSQLProcedureColumns(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszProcName: String val,
  pcbProcName: I16 val,
  pszColumnName: String val,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLProcedures

[Source]

fun box pSQLProcedures(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszProcName: String val,
  pcbProcName: I16 val)
: I16 val

Parameters

Returns


pSQLSetPos

[Source]

fun box pSQLSetPos(
  phstmt: Pointer[None val] tag,
  pirow: U16 val,
  pfOption: U16 val,
  pfLock: U16 val)
: I16 val

Parameters

Returns


pSQLTablePrivileges

[Source]

fun box pSQLTablePrivileges(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val)
: I16 val

Parameters

Returns


pSQLDrivers

[Source]

fun box pSQLDrivers(
  phenv: Pointer[None val] tag,
  pfDirection: U16 val,
  pszDriverDesc: String val,
  pcbDriverDescMax: I16 val,
  ppcbDriverDesc: CBoxedI16 ref,
  pszDriverAttributes: String val,
  pcbDrvrAttrMax: I16 val,
  ppcbDrvrAttr: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLBindParameter_varchar

[Source]

fun box pSQLBindParameter_varchar(
  phstmt: ODBCHandleStmt tag,
  pipar: U16 val,
  pfParamType: I16 val,
  pfCType: I16 val,
  pfSqlType: I16 val,
  pcbColDef: U64 val,
  pibScale: I16 val,
  prgbValue: Pointer[U8 val] tag,
  pcbValueMax: I64 val,
  ppcbValue: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLSetScrollOptions

[Source]

fun box pSQLSetScrollOptions(
  phstmt: Pointer[None val] tag,
  pfConcurrency: U16 val,
  pcrowKeyset: I64 val,
  pcrowRowset: U16 val)
: I16 val

Parameters

Returns


pSQLColAttributeW

[Source]

fun box pSQLColAttributeW(
  phstmt: Pointer[None val] tag,
  piCol: U16 val,
  piField: U16 val,
  ppCharAttr: Pointer[None val] tag,
  pcbCharAttrMax: I16 val,
  ppcbCharAttr: CBoxedI16 ref,
  ppNumAttr: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLColAttributesW

[Source]

fun box pSQLColAttributesW(
  phstmt: Pointer[None val] tag,
  picol: U16 val,
  pfDescType: U16 val,
  prgbDesc: Pointer[None val] tag,
  pcbDescMax: I16 val,
  ppcbDesc: CBoxedI16 ref,
  ppfDesc: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLConnectW

[Source]

fun box pSQLConnectW(
  phdbc: Pointer[None val] tag,
  pszDSN: CBoxedI32 ref,
  pcbDSN: I16 val,
  pszUID: CBoxedI32 ref,
  pcbUID: I16 val,
  pszAuthStr: CBoxedI32 ref,
  pcbAuthStr: I16 val)
: I16 val

Parameters

Returns


pSQLDescribeColW

[Source]

fun box pSQLDescribeColW(
  phstmt: Pointer[None val] tag,
  picol: U16 val,
  pszColName: CBoxedI32 ref,
  pcbColNameMax: I16 val,
  ppcbColName: CBoxedI16 ref,
  ppfSqlType: CBoxedI16 ref,
  ppcbColDef: CBoxedU64 ref,
  ppibScale: CBoxedI16 ref,
  ppfNullable: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLErrorW

[Source]

fun box pSQLErrorW(
  phenv: Pointer[None val] tag,
  phdbc: Pointer[None val] tag,
  phstmt: Pointer[None val] tag,
  pszSqlState: CBoxedI32 ref,
  ppfNativeError: CBoxedI32 ref,
  pszErrorMsg: CBoxedI32 ref,
  pcbErrorMsgMax: I16 val,
  ppcbErrorMsg: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLExecDirectW

[Source]

fun box pSQLExecDirectW(
  phstmt: Pointer[None val] tag,
  pszSqlStr: CBoxedI32 ref,
  pcbSqlStr: I32 val)
: I16 val

Parameters

Returns


pSQLGetConnectAttrW

[Source]

fun box pSQLGetConnectAttrW(
  phdbc: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val,
  ppcbValue: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetCursorNameW

[Source]

fun box pSQLGetCursorNameW(
  phstmt: Pointer[None val] tag,
  pszCursor: CBoxedI32 ref,
  pcbCursorMax: I16 val,
  ppcbCursor: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLSetDescFieldW

[Source]

fun box pSQLSetDescFieldW(
  pDescriptorHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pFieldIdentifier: I16 val,
  pValue: Pointer[None val] tag,
  pBufferLength: I32 val)
: I16 val

Parameters

Returns


pSQLGetDescFieldW

[Source]

fun box pSQLGetDescFieldW(
  phdesc: Pointer[None val] tag,
  piRecord: I16 val,
  piField: I16 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val,
  ppcbValue: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetDescRecW

[Source]

fun box pSQLGetDescRecW(
  phdesc: Pointer[None val] tag,
  piRecord: I16 val,
  pszName: CBoxedI32 ref,
  pcbNameMax: I16 val,
  ppcbName: CBoxedI16 ref,
  ppfType: CBoxedI16 ref,
  ppfSubType: CBoxedI16 ref,
  ppLength: CBoxedI64 tag,
  ppPrecision: CBoxedI16 ref,
  ppScale: CBoxedI16 ref,
  ppNullable: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetDiagFieldW

[Source]

fun box pSQLGetDiagFieldW(
  pfHandleType: I16 val,
  phandle: Pointer[None val] tag,
  piRecord: I16 val,
  pfDiagField: I16 val,
  prgbDiagInfo: Pointer[None val] tag,
  pcbDiagInfoMax: I16 val,
  ppcbDiagInfo: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetDiagRecW

[Source]

fun box pSQLGetDiagRecW(
  pfHandleType: I16 val,
  phandle: Pointer[None val] tag,
  piRecord: I16 val,
  pszSqlState: CBoxedI32 ref,
  ppfNativeError: CBoxedI32 ref,
  pszErrorMsg: CBoxedI32 ref,
  pcbErrorMsgMax: I16 val,
  ppcbErrorMsg: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLPrepareW

[Source]

fun box pSQLPrepareW(
  phstmt: Pointer[None val] tag,
  pszSqlStr: CBoxedI32 ref,
  pcbSqlStr: I32 val)
: I16 val

Parameters

Returns


pSQLSetConnectAttrW

[Source]

fun box pSQLSetConnectAttrW(
  phdbc: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValue: I32 val)
: I16 val

Parameters

Returns


pSQLSetCursorNameW

[Source]

fun box pSQLSetCursorNameW(
  phstmt: Pointer[None val] tag,
  pszCursor: CBoxedI32 ref,
  pcbCursor: I16 val)
: I16 val

Parameters

Returns


pSQLColumnsW

[Source]

fun box pSQLColumnsW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszTableName: CBoxedI32 ref,
  pcbTableName: I16 val,
  pszColumnName: CBoxedI32 ref,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLGetConnectOptionW

[Source]

fun box pSQLGetConnectOptionW(
  phdbc: Pointer[None val] tag,
  pfOption: U16 val,
  ppvParam: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLGetInfoW

[Source]

fun box pSQLGetInfoW(
  phdbc: Pointer[None val] tag,
  pfInfoType: U16 val,
  prgbInfoValue: Pointer[None val] tag,
  pcbInfoValueMax: I16 val,
  ppcbInfoValue: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetTypeInfoW

[Source]

fun box pSQLGetTypeInfoW(
  pStatementHandle: ODBCHandleStmt tag,
  pDataType: I16 val)
: I16 val

Parameters

Returns


pSQLSetConnectOptionW

[Source]

fun box pSQLSetConnectOptionW(
  phdbc: Pointer[None val] tag,
  pfOption: U16 val,
  pvParam: U64 val)
: I16 val

Parameters

Returns


pSQLSpecialColumnsW

[Source]

fun box pSQLSpecialColumnsW(
  phstmt: Pointer[None val] tag,
  pfColType: U16 val,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszTableName: CBoxedI32 ref,
  pcbTableName: I16 val,
  pfScope: U16 val,
  pfNullable: U16 val)
: I16 val

Parameters

Returns


pSQLStatisticsW

[Source]

fun box pSQLStatisticsW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszTableName: CBoxedI32 ref,
  pcbTableName: I16 val,
  pfUnique: U16 val,
  pfAccuracy: U16 val)
: I16 val

Parameters

Returns


pSQLTablesW

[Source]

fun box pSQLTablesW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszTableName: CBoxedI32 ref,
  pcbTableName: I16 val,
  pszTableType: CBoxedI32 ref,
  pcbTableType: I16 val)
: I16 val

Parameters

Returns


pSQLDataSourcesW

[Source]

fun box pSQLDataSourcesW(
  phenv: Pointer[None val] tag,
  pfDirection: U16 val,
  pszDSN: CBoxedI32 ref,
  pcbDSNMax: I16 val,
  ppcbDSN: CBoxedI16 ref,
  pszDescription: CBoxedI32 ref,
  pcbDescriptionMax: I16 val,
  ppcbDescription: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLDriverConnectW

[Source]

fun box pSQLDriverConnectW(
  phdbc: Pointer[None val] tag,
  phwnd: Pointer[None val] tag,
  pszConnStrIn: CBoxedI32 ref,
  pcbConnStrIn: I16 val,
  pszConnStrOut: CBoxedI32 ref,
  pcbConnStrOutMax: I16 val,
  ppcbConnStrOut: CBoxedI16 ref,
  pfDriverCompletion: U16 val)
: I16 val

Parameters

Returns


pSQLBrowseConnectW

[Source]

fun box pSQLBrowseConnectW(
  phdbc: Pointer[None val] tag,
  pszConnStrIn: CBoxedI32 ref,
  pcbConnStrIn: I16 val,
  pszConnStrOut: CBoxedI32 ref,
  pcbConnStrOutMax: I16 val,
  ppcbConnStrOut: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLColumnPrivilegesW

[Source]

fun box pSQLColumnPrivilegesW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszTableName: CBoxedI32 ref,
  pcbTableName: I16 val,
  pszColumnName: CBoxedI32 ref,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLGetStmtAttrW

[Source]

fun box pSQLGetStmtAttrW(
  phstmt: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val,
  ppcbValue: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLSetStmtAttrW

[Source]

fun box pSQLSetStmtAttrW(
  phstmt: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val)
: I16 val

Parameters

Returns


pSQLForeignKeysW

[Source]

fun box pSQLForeignKeysW(
  phstmt: Pointer[None val] tag,
  pszPkCatalogName: CBoxedI32 ref,
  pcbPkCatalogName: I16 val,
  pszPkSchemaName: CBoxedI32 ref,
  pcbPkSchemaName: I16 val,
  pszPkTableName: CBoxedI32 ref,
  pcbPkTableName: I16 val,
  pszFkCatalogName: CBoxedI32 ref,
  pcbFkCatalogName: I16 val,
  pszFkSchemaName: CBoxedI32 ref,
  pcbFkSchemaName: I16 val,
  pszFkTableName: CBoxedI32 ref,
  pcbFkTableName: I16 val)
: I16 val

Parameters

Returns


pSQLNativeSqlW

[Source]

fun box pSQLNativeSqlW(
  phdbc: Pointer[None val] tag,
  pszSqlStrIn: CBoxedI32 ref,
  pcbSqlStrIn: I32 val,
  pszSqlStr: CBoxedI32 ref,
  pcbSqlStrMax: I32 val,
  ppcbSqlStr: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLPrimaryKeysW

[Source]

fun box pSQLPrimaryKeysW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszTableName: CBoxedI32 ref,
  pcbTableName: I16 val)
: I16 val

Parameters

Returns


pSQLProcedureColumnsW

[Source]

fun box pSQLProcedureColumnsW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszProcName: CBoxedI32 ref,
  pcbProcName: I16 val,
  pszColumnName: CBoxedI32 ref,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLProceduresW

[Source]

fun box pSQLProceduresW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszProcName: CBoxedI32 ref,
  pcbProcName: I16 val)
: I16 val

Parameters

Returns


pSQLTablePrivilegesW

[Source]

fun box pSQLTablePrivilegesW(
  phstmt: Pointer[None val] tag,
  pszCatalogName: CBoxedI32 ref,
  pcbCatalogName: I16 val,
  pszSchemaName: CBoxedI32 ref,
  pcbSchemaName: I16 val,
  pszTableName: CBoxedI32 ref,
  pcbTableName: I16 val)
: I16 val

Parameters

Returns


pSQLDriversW

[Source]

fun box pSQLDriversW(
  phenv: Pointer[None val] tag,
  pfDirection: U16 val,
  pszDriverDesc: CBoxedI32 ref,
  pcbDriverDescMax: I16 val,
  ppcbDriverDesc: CBoxedI16 ref,
  pszDriverAttributes: CBoxedI32 ref,
  pcbDrvrAttrMax: I16 val,
  ppcbDrvrAttr: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLColAttributeA

[Source]

fun box pSQLColAttributeA(
  phstmt: Pointer[None val] tag,
  piCol: U16 val,
  piField: U16 val,
  ppCharAttr: Pointer[None val] tag,
  pcbCharAttrMax: I16 val,
  ppcbCharAttr: CBoxedI16 ref,
  ppNumAttr: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLColAttributesA

[Source]

fun box pSQLColAttributesA(
  phstmt: Pointer[None val] tag,
  picol: U16 val,
  pfDescType: U16 val,
  prgbDesc: Pointer[None val] tag,
  pcbDescMax: I16 val,
  ppcbDesc: CBoxedI16 ref,
  ppfDesc: CBoxedI64 tag)
: I16 val

Parameters

Returns


pSQLConnectA

[Source]

fun box pSQLConnectA(
  phdbc: Pointer[None val] tag,
  pszDSN: String val,
  pcbDSN: I16 val,
  pszUID: String val,
  pcbUID: I16 val,
  pszAuthStr: String val,
  pcbAuthStr: I16 val)
: I16 val

Parameters

Returns


pSQLDescribeColA

[Source]

fun box pSQLDescribeColA(
  phstmt: Pointer[None val] tag,
  picol: U16 val,
  pszColName: String val,
  pcbColNameMax: I16 val,
  ppcbColName: CBoxedI16 ref,
  ppfSqlType: CBoxedI16 ref,
  ppcbColDef: CBoxedU64 ref,
  ppibScale: CBoxedI16 ref,
  ppfNullable: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLErrorA

[Source]

fun box pSQLErrorA(
  phenv: Pointer[None val] tag,
  phdbc: Pointer[None val] tag,
  phstmt: Pointer[None val] tag,
  pszSqlState: String val,
  ppfNativeError: CBoxedI32 ref,
  pszErrorMsg: String val,
  pcbErrorMsgMax: I16 val,
  ppcbErrorMsg: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLExecDirectA

[Source]

fun box pSQLExecDirectA(
  phstmt: Pointer[None val] tag,
  pszSqlStr: String val,
  pcbSqlStr: I32 val)
: I16 val

Parameters

Returns


pSQLGetConnectAttrA

[Source]

fun box pSQLGetConnectAttrA(
  phdbc: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val,
  ppcbValue: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetCursorNameA

[Source]

fun box pSQLGetCursorNameA(
  phstmt: Pointer[None val] tag,
  pszCursor: String val,
  pcbCursorMax: I16 val,
  ppcbCursor: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLSetDescFieldA

[Source]

fun box pSQLSetDescFieldA(
  pDescriptorHandle: Pointer[None val] tag,
  pRecNumber: I16 val,
  pFieldIdentifier: I16 val,
  pValue: Pointer[None val] tag,
  pBufferLength: I32 val)
: I16 val

Parameters

Returns


pSQLGetDescFieldA

[Source]

fun box pSQLGetDescFieldA(
  phdesc: Pointer[None val] tag,
  piRecord: I16 val,
  piField: I16 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val,
  ppcbValue: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLGetDescRecA

[Source]

fun box pSQLGetDescRecA(
  phdesc: Pointer[None val] tag,
  piRecord: I16 val,
  pszName: String val,
  pcbNameMax: I16 val,
  ppcbName: CBoxedI16 ref,
  ppfType: CBoxedI16 ref,
  ppfSubType: CBoxedI16 ref,
  ppLength: CBoxedI64 tag,
  ppPrecision: CBoxedI16 ref,
  ppScale: CBoxedI16 ref,
  ppNullable: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetDiagFieldA

[Source]

fun box pSQLGetDiagFieldA(
  pfHandleType: I16 val,
  phandle: Pointer[None val] tag,
  piRecord: I16 val,
  pfDiagField: I16 val,
  prgbDiagInfo: Pointer[None val] tag,
  pcbDiagInfoMax: I16 val,
  ppcbDiagInfo: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetDiagRecA

[Source]

fun box pSQLGetDiagRecA(
  pfHandleType: I16 val,
  phandle: Pointer[None val] tag,
  piRecord: I16 val,
  pszSqlState: String val,
  ppfNativeError: CBoxedI32 ref,
  pszErrorMsg: String val,
  pcbErrorMsgMax: I16 val,
  ppcbErrorMsg: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLPrepareA

[Source]

fun box pSQLPrepareA(
  phstmt: Pointer[None val] tag,
  pszSqlStr: String val,
  pcbSqlStr: I32 val)
: I16 val

Parameters

Returns


pSQLSetConnectAttrA

[Source]

fun box pSQLSetConnectAttrA(
  phdbc: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValue: I32 val)
: I16 val

Parameters

Returns


pSQLSetCursorNameA

[Source]

fun box pSQLSetCursorNameA(
  phstmt: Pointer[None val] tag,
  pszCursor: String val,
  pcbCursor: I16 val)
: I16 val

Parameters

Returns


pSQLColumnsA

[Source]

fun box pSQLColumnsA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val,
  pszColumnName: String val,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLGetConnectOptionA

[Source]

fun box pSQLGetConnectOptionA(
  phdbc: Pointer[None val] tag,
  pfOption: U16 val,
  ppvParam: Pointer[None val] tag)
: I16 val

Parameters

Returns


pSQLGetInfoA

[Source]

fun box pSQLGetInfoA(
  phdbc: Pointer[None val] tag,
  pfInfoType: U16 val,
  prgbInfoValue: Pointer[None val] tag,
  pcbInfoValueMax: I16 val,
  ppcbInfoValue: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLGetTypeInfoA

[Source]

fun box pSQLGetTypeInfoA(
  pStatementHandle: ODBCHandleStmt tag,
  pDataType: I16 val)
: I16 val

Parameters

Returns


pSQLSetConnectOptionA

[Source]

fun box pSQLSetConnectOptionA(
  phdbc: Pointer[None val] tag,
  pfOption: U16 val,
  pvParam: U64 val)
: I16 val

Parameters

Returns


pSQLSpecialColumnsA

[Source]

fun box pSQLSpecialColumnsA(
  phstmt: Pointer[None val] tag,
  pfColType: U16 val,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val,
  pfScope: U16 val,
  pfNullable: U16 val)
: I16 val

Parameters

Returns


pSQLStatisticsA

[Source]

fun box pSQLStatisticsA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val,
  pfUnique: U16 val,
  pfAccuracy: U16 val)
: I16 val

Parameters

Returns


pSQLTablesA

[Source]

fun box pSQLTablesA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val,
  pszTableType: String val,
  pcbTableType: I16 val)
: I16 val

Parameters

Returns


pSQLDataSourcesA

[Source]

fun box pSQLDataSourcesA(
  phenv: Pointer[None val] tag,
  pfDirection: U16 val,
  pszDSN: String val,
  pcbDSNMax: I16 val,
  ppcbDSN: CBoxedI16 ref,
  pszDescription: String val,
  pcbDescriptionMax: I16 val,
  ppcbDescription: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLDriverConnectA

[Source]

fun box pSQLDriverConnectA(
  phdbc: Pointer[None val] tag,
  phwnd: Pointer[None val] tag,
  pszConnStrIn: String val,
  pcbConnStrIn: I16 val,
  pszConnStrOut: String val,
  pcbConnStrOutMax: I16 val,
  ppcbConnStrOut: CBoxedI16 ref,
  pfDriverCompletion: U16 val)
: I16 val

Parameters

Returns


pSQLBrowseConnectA

[Source]

fun box pSQLBrowseConnectA(
  phdbc: Pointer[None val] tag,
  pszConnStrIn: String val,
  pcbConnStrIn: I16 val,
  pszConnStrOut: String val,
  pcbConnStrOutMax: I16 val,
  ppcbConnStrOut: CBoxedI16 ref)
: I16 val

Parameters

Returns


pSQLColumnPrivilegesA

[Source]

fun box pSQLColumnPrivilegesA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val,
  pszColumnName: String val,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLGetStmtAttrA

[Source]

fun box pSQLGetStmtAttrA(
  phstmt: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val,
  ppcbValue: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLSetStmtAttrA

[Source]

fun box pSQLSetStmtAttrA(
  phstmt: Pointer[None val] tag,
  pfAttribute: I32 val,
  prgbValue: Pointer[None val] tag,
  pcbValueMax: I32 val)
: I16 val

Parameters

Returns


pSQLForeignKeysA

[Source]

fun box pSQLForeignKeysA(
  phstmt: Pointer[None val] tag,
  pszPkCatalogName: String val,
  pcbPkCatalogName: I16 val,
  pszPkSchemaName: String val,
  pcbPkSchemaName: I16 val,
  pszPkTableName: String val,
  pcbPkTableName: I16 val,
  pszFkCatalogName: String val,
  pcbFkCatalogName: I16 val,
  pszFkSchemaName: String val,
  pcbFkSchemaName: I16 val,
  pszFkTableName: String val,
  pcbFkTableName: I16 val)
: I16 val

Parameters

  • phstmt: Pointer[None val] tag
  • pszPkCatalogName: String val
  • pcbPkCatalogName: I16 val
  • pszPkSchemaName: String val
  • pcbPkSchemaName: I16 val
  • pszPkTableName: String val
  • pcbPkTableName: I16 val
  • pszFkCatalogName: String val
  • pcbFkCatalogName: I16 val
  • pszFkSchemaName: String val
  • pcbFkSchemaName: I16 val
  • pszFkTableName: String val
  • pcbFkTableName: I16 val

Returns


pSQLNativeSqlA

[Source]

fun box pSQLNativeSqlA(
  phdbc: Pointer[None val] tag,
  pszSqlStrIn: String val,
  pcbSqlStrIn: I32 val,
  pszSqlStr: String val,
  pcbSqlStrMax: I32 val,
  ppcbSqlStr: CBoxedI32 ref)
: I16 val

Parameters

Returns


pSQLPrimaryKeysA

[Source]

fun box pSQLPrimaryKeysA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val)
: I16 val

Parameters

Returns


pSQLProcedureColumnsA

[Source]

fun box pSQLProcedureColumnsA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszProcName: String val,
  pcbProcName: I16 val,
  pszColumnName: String val,
  pcbColumnName: I16 val)
: I16 val

Parameters

Returns


pSQLProceduresA

[Source]

fun box pSQLProceduresA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszProcName: String val,
  pcbProcName: I16 val)
: I16 val

Parameters

Returns


pSQLTablePrivilegesA

[Source]

fun box pSQLTablePrivilegesA(
  phstmt: Pointer[None val] tag,
  pszCatalogName: String val,
  pcbCatalogName: I16 val,
  pszSchemaName: String val,
  pcbSchemaName: I16 val,
  pszTableName: String val,
  pcbTableName: I16 val)
: I16 val

Parameters

Returns


pSQLDriversA

[Source]

fun box pSQLDriversA(
  phenv: Pointer[None val] tag,
  pfDirection: U16 val,
  pszDriverDesc: String val,
  pcbDriverDescMax: I16 val,
  ppcbDriverDesc: CBoxedI16 ref,
  pszDriverAttributes: String val,
  pcbDrvrAttrMax: I16 val,
  ppcbDrvrAttr: CBoxedI16 ref)
: I16 val

Parameters

Returns


resolve

[Source]

fun box resolve(
  rv: I16 val)
: (SQLSuccess val | SQLSuccessWithInfo val | SQLStillExecuting val | 
    SQLError val | SQLInvalidHandle val | SQLNeedData val | 
    PonyDriverError val | SQLNoData val)

Parameters

Returns


eq

[Source]

fun box eq(
  that: ODBCFFI val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: ODBCFFI val)
: Bool val

Parameters

Returns