PreviousSQL Engine Reference (v9 SP2 (9.5) revision 1) Next

SQL Grammar Support

Chapter contents

The ODBC v2.5 specification provides three levels of SQL grammar support: Minimum, Core, and Extended. Each higher level provides more fully-implemented data definition and data manipulation language support. The Pervasive Relational Interface fully supports the minimum SQL grammar, as well as many core and extended grammar statements. The Pervasive Relational Interface support for SQL grammar is summarized in the following table.

Table 2-7 SQL Grammar Support
SQL Grammar Statement
Minimum
Core
Extended
   

   

 

 
   

   

   

 

 
DELETE (positional)

   
DELETE (searched)

   
   

 

 
   

   
   

 

 
 

 

   
JOIN LEFT OUTER (Select)
   

 

 

   
 

 
 

 
 

 
   

   

 

 
- extended predicates
   

 

 
 

 
   

   

 

 
   

   

UPDATE (positional)

   
UPDATE (searched)

   

Delimited Identifiers in SQL Statements

Column names and table names can occur as delimited identifiers if they contain non-ODBC standard characters. If an identifier is a keyword, it must delimited.

The delimiter character for identifiers is the double-quote.

Examples

SELECT "last-name" FROM "non-standard-tbl" 

The hyphen is a non-ODBC standard character.

SELECT "password" FROM my_pword_tbl 

"Password" is a keyword in the SET PASSWORD statement.


Chapter contents
Book contents

Prev topic: ODBC Support
Next topic: SQL Syntax Reference