APOST|QUOTE
-a | -q - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide - 17.20

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Preprocessor2
Release Number
17.20
Published
April 2023
ft:locale
en-US
ft:lastEdition
2023-04-21
dita:mapPath
neh1679404006646.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2446
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.