Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.37 KB

scalar-function-escape-sequence.md

File metadata and controls

37 lines (28 loc) · 1.37 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
Scalar Function Escape Sequence
Scalar Function Escape Sequence
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
escape sequences [ODBC], scalar function
scalar functions [ODBC], escape sequences
ODBC escape sequences [ODBC], scalar function

Scalar Function Escape Sequence

ODBC uses escape sequences for scalar functions. The syntax of this escape sequence is as follows:

{fn scalar-function}  

Remarks

In BNF notation, the syntax is as follows:

ODBC-scalar-function-escape ::=

ODBC-esc-initiator fn scalar-function ODBC-esc-terminator

scalar-function ::= function-name (argument-list)

(The definitions for the nonterminals function-name and function-name (argument-list) are derived from the list of scalar functions in Appendix E: Scalar Functions.)

ODBC-esc-initiator ::= {

ODBC-esc-terminator ::= }

To determine whether the data source supports procedures and the driver supports the ODBC procedure invocation syntax, an application can call SQLGetInfo. For more information, see Appendix E: Scalar Functions.