Function odbc_ffi::SQLTables [] [src]

pub unsafe extern fn SQLTables(statement_handle: SQLHSTMT,
                               catalog_name: *const SQLCHAR,
                               name_length_1: SQLSMALLINT,
                               schema_name: *const SQLCHAR,
                               name_length_2: SQLSMALLINT,
                               table_name: *const SQLCHAR,
                               name_length_3: SQLSMALLINT,
                               TableType: *const SQLCHAR,
                               name_length_4: SQLSMALLINT)
                               -> SQLRETURN

Returns the list of table, catalog, or schema names, and table types, stored in a specific data source. The driver returns the information as a result set

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_INVALID_HANDLE, or SQL_STILL_EXECUTING