Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.37 KB

File metadata and controls

26 lines (21 loc) · 1.37 KB
title SQLColumnPrivileges
description SQLColumnPrivileges
author markingmyname
ms.author maghan
ms.date 03/14/2017
ms.service sql
ms.subservice native-client
ms.topic reference
helpviewer_keywords
SQLColumnPrivileges function
apitype DLLExport

SQLColumnPrivileges

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

SQLColumnPrivileges returns SQL_SUCCESS whether or not values exist for theCatalogName, SchemaName, TableName, or ColumnName parameters. SQLFetch returns SQL_NO_DATA when invalid values are used in these parameters.

SQLColumnPrivileges can be executed on a static server cursor. An attempt to execute SQLColumnPrivileges on an updatable (dynamic or keyset) cursor will return SQL_SUCCESS_WITH_INFO indicating that the cursor type has been changed.

The [!INCLUDEssNoVersion] Native Client ODBC driver supports reporting information for tables on linked servers by accepting a two-part name for the CatalogName parameter: Linked_Server_Name.Catalog_Name.

See Also

SQLColumnPrivileges Function
ODBC API Implementation Details