Function odbc_sys::SQLColumnPrivilegesW[][src]

pub unsafe extern "system" fn SQLColumnPrivilegesW(
    statement_handle: HStmt,
    catalog_name: *const WChar,
    catalog_name_length: SmallInt,
    schema_name: *const WChar,
    schema_name_length: SmallInt,
    table_name: *const WChar,
    table_name_length: SmallInt,
    column_name: *const WChar,
    column_name_length: SmallInt
) -> SqlReturn

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

Returns

SUCCESS, SUCCESS_WITH_INFO, ERROR, INVALID_HANDLE, or SQL_STILL_EXECUTING.