SQL Reference Guide
Introducing the SQL Reference Guide
In This Guide
Audience
Enterprise Access Compatibility
System-specific Text in This Guide
Terminology Used in This Guide
Syntax Conventions Used in This Guide
Introducing SQL
SQL Functionality
Types of SQL Statements
Interactive and Embedded SQL
Interactive SQL
Line-Based Terminal Monitor
Forms Based Terminal Monitor
Embedded SQL
Embedded SQL Support
How Embedded SQL Differs From Interactive SQL
SQL Naming and Statement Rules
Object Naming Rules
User Names
Regular and Delimited Identifiers
Case Sensitivity of Identifiers
Restrictions on Identifiers
Comment Delimiters
Comments in Embedded SQL
Statement Terminators
Correlation Names
Correlation Name Rules
Database Procedures
Object Management Extension
ANSI Compliance
OpenSQL
Security Levels
Understanding SQL Data Types
SQL Data Types
X100 Supported Data Types
Character Data Types
C Data Types
Char Data Type
Text Data Types
Varchar Data Type
Long Varchar Data Types
Nchar, Nvarchar, and Long Nvarchar Data Types
Numeric Data Types
Integer Data Types
Decimal Data Type
Floating Point Data Types
Date and Time Data Types
Date and Time Input Formats
Date Data Type
Time Data Types
Timestamp Data Types
Interval Data Types
Summary of ANSI Date/Time Data Types
Ingresdate Data Types
Coercion Between Date/Time Data Types
Abstract Data Types
Money Data Type
Numeric String Data Type
Logical Key Data Type
IP Network Address Data Types
Universal Unique Identifier (UUID)
Binary Data Types
Byte Data Types
Byte Varying Data Types
Long Byte Data Types
Risk of Hardware Dependent SQL Code when Using Binary Data
Boolean Data Type
Spatial Data Types
Storage Formats of Data Types
Literals
String Literals
Hexadecimal Representation
Quotes within Strings
Unicode Literals
Numeric Literals
Integer Literals
Decimal Literals
Floating Point Literals
Date and Time Literals
Date Literals
Time Literals
Timestamp Literals
Interval Literals
Byte Literals
Boolean Literals
SQL Constants
Nulls
Nulls and Comparisons
Nulls and Aggregate Functions
Nulls and Integrity Constraints
Understanding the Elements of SQL Statements
SQL Operators
Arithmetic Operators
Comparison Operators
Logical Operators
SQL Operations
String Concatenation Operations
Assignment Operations
Character String Assignments
String Truncation
Numeric Assignments
ANSI Date and Time Assignments
Ingresdate Assignments
Logical Key Assignments
Null Value Assignments
Arithmetic Operations
Default Type Conversion
Arithmetic Operations on Decimal Data Types
Date and Time Arithmetic
Ingresdate Interval Arithmetic
ANSI Date and Time Comparisons
Ingresdate Comparisons
Operator Coercion Rules
SQL Functions
Scalar Functions
Conversion Functions
Numeric Functions
String Functions
Date and Time Functions
Bitwise Functions
Hashing Functions
Random Number Functions
IP Network Address Functions
Aggregate Functions
Basic Aggregate Functions
Regression and Correlation Analysis Aggregate Functions
String Aggregate Functions
Ordering Aggregate Functions
Aggregate Functions and Decimal Data
GROUP BY Clause with Aggregate Functions
Restrictions on the Use of Aggregate Functions
Window Functions
Window Function Syntax
Windowing Aggregate Functions
Analytical Functions
Null Handling Functions
Universal Unique Identifier (UUID)
UUID Format
UUID Functions
Encryption Functions
Spatial Functions
Predicates in SQL
Comparison Predicates
Quantified Predicates
Pattern-matching Predicates
LIKE Predicate
BEGINNING, CONTAINING, and ENDING Predicates
SIMILAR TO Predicate
BETWEEN Predicate
IN Predicate
EXISTS Predicate
IS NULL Predicate
IS INTEGER Predicate
IS DECIMAL Predicate
IS FLOAT Predicate
IS TRUE, IS FALSE, IS UNKNOWN Predicates
IS INGRESDATE, IS ANSIDATE, IS TIME, IS TIMESTAMP, IS INTERVAL YEAR TO MONTH, IS INTERVAL DAY TO SECOND Predicates
Expressions in SQL
CASE Expressions
Searched CASE
Simple CASE
DECODE Function
IF, NULLIF, and COALESCE Functions
GREATEST, GREATER, LEAST, LESSER Functions
CAST Expressions
Sequence Expressions
NEXT VALUE FOR, CURRENT VALUE FOR
LAST_IDENTITY Function
Locking and Sequences
Search Conditions in SQL Statements
Subqueries
Subqueries in the WHERE Clause
Subqueries in the FROM Clause (Derived Tables)
Derived Table Syntax
Subqueries in the Target List, SET and VALUE Clauses (Scalar Subqueries)
Scalar Subqueries
Subquery Behavior Change due to Scalar Subquery Feature
Common Table Expressions (CTEs)
Common Table Expression Format
Components of a CTE
How CTEs Are Used
Examples of Using CTEs: The Person and Relative Tables
Referring to a Defined WITH Element
Using Nested WITH Element References
WITH Elements in CREATE VIEW
Working with Embedded SQL
Embedded SQL Statements
How Embedded SQL Statements Are Processed
General Syntax and Rules of an Embedded SQL Statement
Syntax Conventions Used in this Chapter
Structure of an Embedded SQL Program
Host Language Variables in Embedded SQL
Variable Declaration
Include Statement
Variable Usage
Variable Structures
Dclgen Utility--Generate Structure
Indicator Variables
Indicator Variable Declaration
Null Indicators and Data Retrieval
Using Null Indicators to Assign Nulls
Indicator Variables and Character Data Retrieval
Null Indicator Arrays and Host Structures
Data Manipulation with Cursors
Example: Cursor Processing
Cursor Declaration
Open a Cursor
Readonly Cursors
Open Cursors and Transaction Processing
Fetch Data From Cursor
Fetch Rows Inserted by Other Queries
Using Cursors to Update Data
Cursor Modes
Cursor Position for Updates
Delete Data Using Cursors
Example: Updating and Deleting with Cursors
Closing Cursors
Summary of Cursor Positioning
Dynamically Specifying Cursor Names
Cursors Versus Select Loops
Dynamic Programming
SQLDA
Structure of the SQLDA
Including the SQLDA in a Program
Describe Statement and SQLDA
Data Type Codes
Using Clause
Dynamic SQL Statements
Execute Immediate Statement
Prepare and Execute Statements
Describe Statement
Execute a Dynamic Non-select Statement
Using Execute Immediate to Execute a Non-select Statement
Preparing and Executing a Non-select Statement
Execute a Dynamic Select Statement
Unknown Result Column Data Types
How Unknown Result Column Data Types are Handled
Prepare and Describe Select Statements
Sqlvar Elements
Select Statement with Execute Immediate
Retrieve Results Using Cursors
Data Handlers for Large Objects
Errors in Data Handlers
Restrictions on Data Handlers
Large Objects in Dynamic SQL
Length Considerations
Data Handlers in Dynamic SQL
Example: PUT DATA Handler
Example: GET DATA Handler
Example: Dynamic SQL Data Handler
Ingres 4GL Interface
Working with Transactions and Handling Errors
Transactions
How Transactions Work
How Consistency is Maintained During Transactions
Set Autocommit On--Commit Individual Statement
How to Determine if You Are in a Transaction
Statements Used to Control Transactions
How Effects of a Transaction Are Controlled
Savepoints on Multi-statement Transactions
How the Transaction Processing System Handles Interrupts
Abort Policy for Transactions and Statements
How to Direct the DBMS to Roll Back an Entire Transaction or Statement
Effects of Aborted Transactions
Two Phase Commit
Statements that Support Two Phase Commit
Distributed Transaction ID
Coordinator Applications for a Two Phase Commit
Manual Termination of a Distributed Transaction
Example: Using Two-Phase Commit
Ways to Obtain Status Information
SESSION_PRIV Function--Determine If Session Has a Privilege
DBMSINFO Function--Return Information About the Current Session
Dbmsinfo Examples
Request Names for DBMSINFO Function
INQUIRE_SQL Function
SQL Communications Area (SQLCA)
Variables that Compose SQLCA
SQLCODE and SQLSTATE
SQLCODE Variable
SQLSTATE Variable
Error Handling
Types of Error Codes
Error Message Format
Display of Error Messages
Error Handling in Embedded Applications
Error Information from SQLCA
SQLSTATE
Error Trapping Using Whenever Statement
How to Define an Error-Handling Function
Event Handlers and Message Handlers
Error Checking Using Inquire Statements
Set_Sql(Programquit)--Specify Whether to Abort on Error
Handling of Deadlocks
Example: Handling Deadlocks When Transactions Do Not Contain Cursors
Example: Handling Deadlocks with One Cursor
Example: Handling Deadlocks with Two Cursors
Understanding Database Procedures, Sessions, and Events
How Database Procedures Are Created, Invoked, and Executed
Benefits of Database Procedures
Contents of Database Procedures
Permissions on Database Procedures
Methods of Executing Procedures
How Parameters Are Passed in Database Procedures
Row-Producing Procedures
Format of a Row-Producing Procedure
How a Row-Producing Procedure Is Called
Row-Producing Procedure Example
Table Procedure
Table Procedure Restrictions
Table Procedure Example
Effects of Errors in Database Procedures
iierrornumber and iirowcount Variables
Raise Error Statement
Messages from Database Procedures
Message Handling Using the Whenever Statement
Message Handling Using User-Defined Handler Routines
Rules
Examples: Database Procedures and Rules
AFTER Rule Example: The Audit Procedure and Rule
BEFORE Rule Example: The Audit Procedure and Rule
Multiple Session Connections
Multiple Sessions
Session Identification
Session Switching
Disconnection of Sessions
Status Information in Multiple Sessions
What You Should Know When Creating Multiple Sessions
Example: Two Open Sessions
Examples: Session Switching
Database Events
Example: Database Events in Conjunction with Rules
Database Event Statements
Create a Database Event
Raise a Database Event
Register Applications to Receive a Database Event
How a Database Event Is Received
Get a Database Event
How to Process Database Events
Get Dbevent Statement Example
Whenever Dbevent Statement
User-Defined Database Event Handlers
Remove a Database Event Registration
Drop a Database Event
Privileges and Database Events
Trace Database Events
SQL Statements
Context for SQL Statements
Statements for Ingres Star
ALTER GROUP
ALTER GROUP Examples
ALTER LOCATION
ALTER LOCATION Examples
ALTER PROFILE
ALTER PROFILE Examples
ALTER ROLE
ALTER ROLE Examples
ALTER SECURITY_AUDIT
ALTER SECURITY_AUDIT Examples
ALTER SEQUENCE
ALTER SEQUENCE Examples
ALTER TABLE
ALTER TABLE...ALTER COLUMN Restrictions
Rules and Restrictions on Renaming Tables
Rules and Restrictions on Renaming Columns
Constraint Specifications
Named Constraints
Restrict and Cascade
ALTER TABLE Examples
ALTER USER
ALTER USER Examples
BEGIN DECLARE
BEGIN DECLARE Example
CALL
CALL Examples
CALL X100 (X100 Only)
CLEANUP_UNUSED_FILES Command
CONDENSE_LOG Command
FORCE_TRANSACTION_DISALLOW_COMMIT Command
SETCONF Command
TERMINATE Command
TOTAL_DB_SIZE Command
VWLOG_RELOAD Command
VWLOG_ROTATE Command
CLOSE
CLOSE Example
COMMENT ON
COMMENT ON Examples
COMMIT
COMMIT Example
CONNECT
Connecting with Distributed Transactions
Creating Multiple Sessions
Using Session Identifiers
Using Connection Names
CONNECT Examples
COPY
Unformatted Copying
Formatted Copying
Bulk Copying
Column Formats for COPY
Character (Text) Formats
Counted Character Formats
Dummy Format
Unicode Formats
Binary Formats
COPY Format Details
Delimiters in the Data File
WITH NULL Clause for COPY
Filename Specification for COPY
Windows File Types for COPY
VMS File Types for COPY
WITH Clause Options for COPY
Permissions
Locking
Restrictions and Considerations
Related Statements
COPY Examples
COPY FROM | INTO PROGRAM
Row Formats
Fixed-length Formats
Variable-length Formats
COPY Arguments
Handler Code Examples
COPY INTO PROGRAM Using Bulk Format
COPY FROM PROGRAM Using Fixed-length Formats
COPY FROM PROGRAM Using Variable-length Formats
COPY VWLOAD (X100 Only)
COPY VWLOAD Example
CREATE DBEVENT
CREATE GROUP
CREATE GROUP Examples
CREATE INDEX
Description
Index Storage Structure for Ingres Tables
Unique Indexes
Effect of the Unique_Scope Option on Updates
Index Location
Parallel Index Building
Embedded Usage
Permissions
Locking
Related Statements
CREATE INDEX Examples
CREATE INTEGRITY
CREATE INTEGRITY Examples
CREATE LOCATION
CREATE LOCATION Examples
CREATE PROCEDURE
Description
Parameter Modes
Nullability and Default Values for Parameters
SET OF Parameters
Embedded Usage
Permissions
Related Statements
CREATE PROCEDURE Examples
CREATE PROFILE
CREATE PROFILE Examples
CREATE ROLE
CREATE ROLE Examples
CREATE RULE
Row and Statement Level Rules
Procedure Execution in CREATE RULE
Table_Condition
CREATE RULE Examples
CREATE SCHEMA
CREATE SCHEMA Example
CREATE SECURITY_ALARM
CREATE SECURITY_ALARM Examples
CREATE SEQUENCE
CREATE SEQUENCE Examples
CREATE SYNONYM
CREATE SYNONYM Examples
CREATE TABLE
Description
Column Specification--Define Column Characteristics
Default Clause
Null Clause
With|Not Null and With|Not Default Combinations
System_Maintained Logical Keys
Sequence Defaults
Identity Columns
Using CREATE TABLE...AS SELECT
Constraints
Unique Constraint
Check Constraint
Referential Constraint
Primary Key Constraint
Column-Level Constraints and Table-Level Constraints
Constraint WITH_Clause--Define Constraint Index Options
No Index Option
Index = Base Table Structure Option
Index = Index_Name Option
Constraints and Integrities
WITH Clause for CREATE TABLE
Page_size Option
Security_audit Option
WITH Clause for CREATE TABLE...AS SELECT
Partitioned Tables
Partitioning Schemes
Embedded Usage
Permissions
Locking
Related Statements
CREATE TABLE Examples
CREATE USER
CREATE USER Examples
CREATE VIEW
WITH CHECK OPTION Clause
CREATE VIEW Examples
DECLARE
DECLARE Example
DECLARE CURSOR
Cursor Updates
Cursor Modes
Embedded Usage
Usage in OpenAPI
Permissions
Locking
Related Statements
DECLARE CURSOR Examples
DECLARE GLOBAL TEMPORARY TABLE
Description
SESSION Schema Qualifier
Embedded Usage
Permissions
Temporary Table Restrictions
Related Statements
DECLARE GLOBAL TEMPORARY TABLE Examples
DECLARE STATEMENT
DECLARE STATEMENT Example
DECLARE TABLE
DECLARE TABLE Example
DELETE
Embedded Usage
Non-Cursor Delete
Cursor Delete
Permissions
Locking
Related Statements
DELETE Example
DESCRIBE
DESCRIBE Examples
DESCRIBE INPUT
DISABLE SECURITY_AUDIT
DISABLE SECURITY_AUDIT Example
DISCONNECT
DISCONNECT Examples
DROP
DROP Examples
DROP DBEVENT
DROP DBEVENT Example
DROP GROUP
DROP GROUP Examples
DROP INTEGRITY
DROP INTEGRITY Examples
DROP LOCATION
DROP LOCATION Example
DROP PERMIT ON SEQUENCE
DROP PERMIT ON SEQUENCE Example
DROP PROCEDURE
DROP PROCEDURE Example
DROP PROFILE
DROP PROFILE Example
DROP ROLE
DROP ROLE Example
DROP RULE
DROP RULE Example
DROP SCHEMA
DROP SCHEMA Example
DROP SECURITY_ALARM
DROP SECURITY_ALARM Examples
DROP SEQUENCE
DROP SEQUENCE Example
DROP SYNONYM
DROP SYNONYM Example
DROP USER
DROP USER Example
ENABLE SECURITY_AUDIT
ENABLE SECURITY_AUDIT Example
ENDDATA
ENDDATA Examples
END DECLARE SECTION
ENDSELECT
ENDSELECT Example
EXECUTE
EXECUTE Examples
EXECUTE IMMEDIATE
EXECUTE IMMEDIATE Examples
EXECUTE PROCEDURE
Passing Parameters - Non-Dynamic Version
Passing Parameters - Dynamic Version
Positional Parameters Sample Syntax
Temporary Table Parameter
Limitations of Temporary Table Parameter
Execute Procedure Loops
Usage in OpenAPI, ODBC, JDBC, .NET
Permissions
Locking
Performance
Related Statements
EXECUTE PROCEDURE Examples
FETCH
FETCH Examples
FOR - ENDFOR
FOR - ENDFOR Example
GET DATA
GET DBEVENT
GRANT (privilege)
Object Privileges
TABLE Privileges
TABLE Privileges for Views
DATABASE Privileges
PROCEDURE Privileges
DBEVENT Privileges
SEQUENCE Privileges
Privilege Defaults
GRANT ALL PRIVILEGES Option
Installation and Database Privileges
Other Privileges
Granting All Privileges on Views
GRANT OPTION Clause
Embedded Usage
Permissions
Locking
Related Statements
GRANT (privilege) Examples
GRANT (role)
GRANT (role) Example
HELP
HELP Examples
IF - THEN - ELSE
If Statement
If Statement
If...Then Statement
If...Then...Elseif Statement
Nesting IF Statements
If-Then-Else Example
INCLUDE
INCLUDE Examples
INQUIRE_SQL
Obtain Logical Key Value with INQUIRE_SQL
Permissions
Relate Statements
INQUIRE_SQL Examples
INSERT
Description
Embedded Usage
Permissions
Repeated Queries
Error Handling
Locking
Related Statements
INSERT Examples
INSERT INTO EXTERNAL CSV (X100 Only)
INSERT INTO EXTERNAL CSV Examples
MERGE
MERGE Examples
MESSAGE
MESSAGE Examples
MODIFY
Description
Syntax for MODIFY Operations
Storage Structure Specification
MODIFY...TO COMBINE
MODIFY...TO RECONSTRUCT
MODIFY...TO TRUNCATED
MODIFY...TO REORGANIZE
MODIFY...TO RELOCATE
MODIFY...TO MERGE
MODIFY...TO ADD_EXTEND
MODIFY...TO [NO]READONLY
MODIFY...TO PHYS_CONSISTENT | PHYS_INCONSISTENT
MODIFY...TO LOG_CONSISTENT | LOG_INCONSISTENT
MODIFY...TO TABLE_RECOVERY_ALLOWED | TABLE_RECOVERY_DISALLOWED
MODIFY...TO UNIQUE_SCOPE=STATEMENT|ROW
MODIFY...TO PRIORITY=n
WITH Clause Options for MODIFY
ALLOCATION
EXTEND
FILLFACTOR, MINPAGES, and MAXPAGES
LEAFFILL and NONLEAFFILL
BLOB_EXTEND
LOCATION
COMPRESSION
(NO)PERSISTENCE
UNIQUE_SCOPE
PAGE_SIZE
NOPARTITION | PARTITION=
CONCURRENT_UPDATES
NODEPENDENCY_CHECK
PASSPHRASE=
Embedded Usage
Permissions
Locking
Related Statements
MODIFY Examples
OPEN
OPEN Examples
PREPARE
PREPARE Example
PREPARE TO COMMIT
PREPARE TO COMMIT Example
PUT DATA
RAISE DBEVENT
RAISE ERROR
RAISE ERROR Example
REGISTER DBEVENT
REGISTER TABLE
Description
Security Log File Format
Embedded Usage
Permissions
Locking
Related Statements
REGISTER TABLE Example
REMOVE DBEVENT
REMOVE TABLE
REMOVE TABLE Example
RENAME TABLE
RENAME TABLE Example
REPEAT - ENDREPEAT
REPEAT - ENDREPEAT Example
RETURN
RETURN Example
RETURN ROW
RETURN ROW Example
REVOKE
Revoking Grant Option
Restrict versus Cascade
Embedded Usage
Permissions
Locking
Related Statements
REVOKE Examples
ROLLBACK
SAVE
SAVE Example
SAVEPOINT
SAVEPOINT Example
SELECT (interactive)
SELECT Statement Clauses
SELECT Clause
FROM Clause
WHERE Clause
GROUP BY Clause
HAVING Clause
ORDER BY Clause
FETCH FIRST Clause and OFFSET Clause
UNION Clause
INTERSECT Clause
EXCEPT Clause
WITH Clause for SELECT
Query Evaluation
Syntax for Specifying Tables and Views
Joins
Join Relationships
Subselects
ANSI/ISO Join Syntax
Permissions
SELECT Locking
SELECT (interactive) Examples
SELECT (embedded)
Non-Cursor Select
Select Loops
INTO Clause--Retrieve Values into Host Language Variables
REPEATED Queries
Cursor Select
Error Handling for Embedded SELECT
Embedded Usage
Related Statements
SELECT (embedded) Examples
SET
Autocommit
[No]Batch_Copy_Optim
[No]Cache_dynamic
[No]Cardinality_check
Connection
Cpufactor
Date_alias
Date_format
Decimal
[No]Firstval
[No]Flatten
Float_Format
[No]Hash
[No]Hashagg
[No]Hashjoin
INSERTMODE DEFAULT | ROW | BULK
[No]Io_trace
Joinop [No]Timeout
Joinop Timeoutabort
Joinop [No]Greedy
[No]Journaling
Lockmode
[No]Lock_Trace
[No]Logdbevents
[No]Logging
[No]Log_trace
[No]Maxconnect
[No]Maxcost
[No]Maxcpu
[No]Maxidle
[No]Maxio
[No]Maxpage
[No]Maxquery
[No]Maxrow
Money_format
Money_prec
Numeric_overflow
[No]Ojflatten
[No]Optimizeonly
[No]Parallel
[No]Printdbevents
[No]Printqry
[No]Printrules
[No]Qep
Random_seed
Result_Structure
NOREUSE
Role
[No]Rules
Schema
Server_Trace
Session Access Mode
Session Add Privileges
Session Authorization
Session [No]Cache_Dynamic
Session Collation
Session Drop Privileges
Session Isolation Level
Session With [No]Description
Session With On_error
Session With On_logfull
Session With On_user_error
Session With Priority
Session With [No]Privileges
Session_Trace
[No]Statistics tablename
String_truncation
[No]Trace Output
[No]Trace Point
Transaction Access Mode
Transaction Isolation Level
[No]Unicode_substitution
[NO]UNION_FLATTENING
Update_Rowcount
Work Locations
Related Statements
SET Examples
SET_SQL
UPDATE
FROM Clause
Embedded Usage
Permissions
Cursor Updates
Locking
Related Statements
UPDATE Examples
WHENEVER
Embedded Usage
Permissions
Locking
Related Statements
WHENEVER Examples
WHILE - ENDWHILE
While - Endwhile Permissions
WHILE - ENDWHILE Example
WITH (common_table_expression)
Guidelines for Using CTEs
WITH (common_table_expression) Syntax
WITH (common_table_expression) Embedded Usage
Keywords
Reserved Keywords and Identifiers
Abbreviations Used in Keyword Lists
Reserved Single Word Keywords
Reserved Multi Word Keywords
Partition Keywords
ANSI/ISO SQL Keywords
A. Terminal Monitor
Terminal Monitors
sql Command--Access Line-based Terminal Monitor
Terminal Monitor Query Buffering
Terminal Monitor Commands
Terminal Monitor Messages and Prompts
Terminal Monitor Character Input and Output
The HELP Statement
Aborting the Editor (VMS only)
Terminal Monitor Macros
Macro Concepts
System Macros
Macro Evaluation
Macro Parameters
Parameter Prescan
Using Tab or Newline
Use of Quotes
Use of Backslashes
Special {define} Processing
Terminal Monitor Macro Examples
B. SQL Statements from Earlier Releases
In This Appendix
Substitute Statements
Abort Statement
Examples: Abort
Begin Transaction Statement
Examples: Begin Transaction
Create Permit Statement
Example: Create Permit
Drop Permit Statement
Embedded Usage: Drop Permit
Locking
Drop Permit Example
End Transaction Statement
Example: End Transaction
Inquire_ingres Statement
Relocate Statement
Example: Relocate
Set_ingres Statement
C. SQLSTATE Values and Generic Error Codes
SQLSTATE Values
Generic Error Codes
Generic Error Data Exception Subcodes
SQLSTATE and Equivalent Generic Errors
D. Settings for Strict ANSI Compliance
In This Chapter
How Settings Are Determined
ISO_ENTRY_SQL-92 Parameter
Case Sensitivity for Identifiers
Regular Identifiers
Delimited Identifiers
User Names
Default Cursor Mode
Query Flattening
Connection Flags
-string_truncation Connection Flag
-numeric_overflow Connection Flag
ESQL Preprocessor Flags
-wsql ESQL Preprocessor Flag
-blank_pad ESQL Preprocessor Flag
-sqlcode
-check_eos (C only)
SQL Reference Guide
-check_eos (C only)