ODBC_SQLColumnPrivileges

4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next

version 2004


ODBC_SQLColumnPrivileges (stmtID; catalogName; schemaName; tableName; columnName) Longint

ParameterTypeDescription
stmtIDLongintStatement ID
catalogNameTextCatalog name
schemaNameTextSchema name
tableNameTextTable name
columnNameTextColumn name
Function resultLongintReturns the result of the MS ODBC API function
SQLColumnPrivileges

Description

The ODBC_SQLColumnPrivileges command returns a list of columns and associated privileges for the specified table. The driver returns the information as a result set on the specified stmtID.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

catalogName is the catalog name.

schemaName is the schema name.

tableName is the table name.

columnName is the string search pattern for column names.

For more information, please see the SQLColumnPrivileges function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlcolumnprivileges.asp.

Function Results

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

See Also

ODBC_SQLColumns.


4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next