Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 1.12 KB

executing-catalog-functions.md

File metadata and controls

19 lines (17 loc) · 1.12 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Executing Catalog Functions
Executing Catalog Functions
David-Engel
v-davidengel
01/19/2017
sql
connectivity
conceptual
catalog functions [ODBC], executing
functions [ODBC], catalog functions

Executing Catalog Functions

Because a catalog function creates a result set, it is equivalent to executing any result set-generating SQL statement. In fact, catalog functions are often implemented by executing predefined SQL statements or calling predefined procedures that are shipped with the driver or DBMS. Almost anything that applies to SQL statements that create result sets also applies to catalog functions. For example, the SQL_ATTR_MAX_ROWS statement attribute limits the number of rows returned by the catalog function, just as it limits the number of rows returned by a SELECT statement.

To execute a catalog function, an application just calls the function.

For more information about catalog functions, see Catalog Functions.