Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Library functions [Table of Contents] Database examples

[-] Chapter 2: The Embedded SQL Interface
[-] Embedded SQL commands


Embedded SQL commands


Note:

EXEC SQL

ALL Embedded SQL statements must be preceded with EXEC SQL and end with a semicolon.

There are two groups of Embedded SQL commands:

Standard SQL commands are used by simply placing them in a C program enclosed with EXEC SQL and a semi-colon. CONNECT, DELETE, SELECT, SET and UPDATE have additional formats only available in Embedded SQL. The additional formats fall into the second category of Embedded SQL specific commands.

All commands are described in detail in SQL Statements .

Several SQL commands are specific to Embedded SQL and can only be used in a C program.

These Embedded SQL commands are also described in SQL Language Elements .

The Embedded SQL commands include the following:


Library functions [Table of Contents] Database examples