APOSTSQL|QUOTESQL
-as | -qs - 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 (").

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

Usage Notes

APOSTSQL and QUOTESQL are mutually exclusive.

Do not explicitly specify QUOTESQL in any language except COBOL.

These options do not affect string delimiters in host language statements.

Specification Language
QUOTESQL This is the default for COBOL, if QUOTE is specified.
APOSTSQL This is the default for COBOL, if APOST is specified or defaulted.
APOSTSQL This is the default for PL/I and cannot be changed.
APOSTSQL This is the default for C and cannot be changed.