APOST|QUOTE
-a | -q - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide

Product
Teradata Preprocessor2
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-19
dita:mapPath
whb1544831946911.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

Purpose

APOSTSQL specifies that for embedded SQL statements, the string delimiter is the apostrophe (') and that the SQL escape (name) delimiter is the quotation mark (").

Usage Notes

Abbreviation for QUOTE Mutually Exclusive
Q APOST and QUOTE
This specification… Is the default for… Notes
APOST COBOL and may be changed. Refer to the Notes column. QUOTE can be explicitly specified for COBOL; if so, also specify the COBOL compiler QUOTE option.
APOST PL/I and may not be changed.  
QUOTE C and may not be changed.  

Host language statements generated by PP2 obey the same conventions. These options do not affect string and SQL escape (name) delimiters in embedded SQL statements. See APOSTSQL|QUOTESQL -as | -qs.