ODBC Driver SQL Grammar

Advantage ODBC Driver

The Advantage ODBC Driver supports three levels of SQL grammars: Minimum, Core and Extended. Each higher level provides more fully implemented data definition and data manipulation language support.

The following chart outlines the SQL Grammar support with the Advantage ODBC Driver. See Advantage SQL Engine for more information.

SQL Grammar

SQL Grammar Support

ALTER TABLE

Extended

BEGIN TRANSACTION

Extended

COMMIT WORK

Extended

CREATE DATABASE

Extended

CREATE INDEX

Core

CREATE PROCEDURE

Extended

CREATE TABLE

Minimum

CREATE TRIGGER

Extended

CREATE VIEW

Extended

DELETE (searched)

Minimum

DROP INDEX

Core

DROP PROCEDURE

Extended

DROP TABLE

Minimum

DROP TRIGGER

Extended

DROP VIEW

Extended

EXECUTE PROCEDURE *

Extended

GRANT

Core

INSERT

Minimum

REVOKE

Core

ROLLBACK WORK

Extended

SELECT

Minimum

- approximate numeric literal

Core

- BETWEEN predicate

Core

- correlation name

Core

- date arithmetic

Extended

- date literal

Extended

- exact numeric literal

Core

- IN predicate

Core

- set function

Core

- time literal

Extended

- timestamp literal

Extended

SET TRANSACTION

Extended

Subqueries

Core

Unions

Extended

UPDATE

Minimum

 

* This statement is an extension to the ODBC SQL grammar.