Entering content frame

 Embedding SQL Statements in C/C++ 

When you embed database statements in the source code of an application program, observe the following points as well as the general rules:

·        Conventions for the Order of Embedded SQL Statements

·        Rules for the Declaration Segment

·        Conventions for Host Variables

·        Using Indicator Variables

·        Permitted Data Types

·        Connecting to a Database Instance

·        Overview of Precompiler Statements

·        Database System Messages

·        Programming Notes

 

Leaving content frame