Ispirer Website
Ispirer Toolkit Overview
Free Trial
ODBC - SQLTablePrivileges Function
ODBC - SQLTablePrivileges | |
---|---|
Syntax | SQLRETURN SQLTablePrivileges( SQLHSTMT StatementHandle, SQLCHAR* CatalogName, SQLSMALLINT NameLength1, SQLCHAR* SchemaName, SQLSMALLINT NameLength2, SQLCHAR* TableName, SQLSMALLINT NameLength3); |
Description | Returns a list of tables and the privileges associated with each table. The driver returns the information as a result set on the specified statement. |
Returns | SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE |