Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.56 KB

File metadata and controls

36 lines (29 loc) · 1.56 KB
title SQLProcedures | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
docset-sql-devref
ms.tgt_pltfrm
ms.topic reference
apitype DLLExport
helpviewer_keywords
SQLProcedures function
ms.assetid ec41f017-f5e0-40ef-913a-65d206068631
caps.latest.revision 35
author JennieHubbard
ms.author jhubbard
manager jhubbard

SQLProcedures

[!INCLUDESNAC_Deprecated]

All [!INCLUDEssNoVersion] stored procedures return a value. SQLProcedures reports SQL_PT_FUNCTION for the result set column PROCEDURE_TYPE.

SQLProcedures returns SQL_SUCCESS whether or not values exist for CatalogName, SchemaName, or ProcName parameters. SQLFetch returns SQL_NO_DATA when invalid values are used in these parameters.

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

SQLProcedures returns information about any procedures whose names match ProcName and can be executed by the current user, or for which the current user has been granted VIEW DEFINITION permission.

See Also

SQLProcedures Function
ODBC API Implementation Details