odbc-disconnect ( dbc -- )


Vocabulary
odbc

Inputs
dbcan ODBC database connection handle


Outputs
None

Word description
Disconnects from the given database.

See also
odbc-init, odbc-connect, odbc-disconnect, odbc-prepare, odbc-free-statement, odbc-execute, odbc-next-row, odbc-number-of-columns, odbc-describe-column, odbc-get-field, odbc-get-row-fields, odbc-get-all-rows, odbc-query

Definition


: odbc-disconnect ( dbc -- )
[ SQLDisconnect "SQLDisconnect" check-odbc ] [
SQL_HANDLE_DBC swap SQLFreeHandle
"SQLFreeHandle in odbc-disconnect" check-odbc
] bi ;