SQL statements embedded in a C or C++ source file are referred to as embedded SQL. A preprocessor translates these statements into calls to a runtime library. Embedded SQL is an ISO/ANSI and IBM standard.
Embedded SQL is portable to other databases and other environments, and is functionally equivalent in all operating environments. It is a comprehensive, low-level interface that provides all the functionality available in the product. Embedded SQL requires knowledge of C or C++ programming languages.
Development process overview
The SQL preprocessor
Embedded SQL header files
Sample embedded SQL program
Structure of embedded SQL programs
Loading DBLIB dynamically under Windows
Sample embedded SQL programs
Embedded SQL data types
Host variables in embedded SQL
The SQL Communication Area (SQLCA)
Static and dynamic SQL
The SQL descriptor area (SQLDA)
How to fetch data using embedded SQL
How to send and retrieve long values using embedded SQL
Simple stored procedures in embedded SQL
Request management with embedded SQL
Database backup with embedded SQL
Library function reference
Embedded SQL statement summary
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|