USA
800 691 9120
UK
01225 704844
We use cookies on our website to analyze website usage and to help secure the website against misuse. Advertising and functional cookies are not used in our site or our web application products.
By clicking “Accept Essential Cookies Only”, you consent to us placing these cookies.
Add an API-expression field to a SQL statement variable
Adds a named field sourced from an API expression to the field list of the given SQL statement variable. Use this when building dynamic queries that need to incorporate API-resolved values as select fields.
| Parameter | Description |
|---|---|
| cmd | SQL statement variable name |
| Argument 0 | field name to add |
| Argument 1 | API expression that resolves the field value |
SqlStatement.AddAPIFIeld "SQL statement variable name", "field name to add", "API expression that resolves the field value"