ODBC Quick Reference
The following table lists methods that you can use with ODBC.
Statement | Purpose | Reference |
---|---|---|
SQLClose |
Disconnects from an ODBC data source connection. |
|
SQLError |
Returns a detailed error message for an error that occurs during an ODBC method call. |
|
SQLExecQuery |
Runs an SQL statement. |
|
SQLGetSchema |
Gets information about data sources, databases, users, owners, and so on. |
|
SQLOpen |
Establishes a connection to an ODBC data source. |
|
SQLRequest |
Makes a connection to a data source, runs an SQL statement, returns the results. |
|
SQLRetrieve |
Returns the results of a select statement that SQLExecQuery runs. |
|
SQLRetrieveToFile |
Gets the results of an SQL query and stores them in a file. |