Collection Contents Index CHAPTER 9.  Using SQL in Applications Preparing statements pdf/chap9.pdf

User's Guide
   PART 1. Working with Databases
     CHAPTER 9. Using SQL in Applications       

Executing SQL statements in applications


The way you include SQL statements in your application depends on the application development tool and programming interface you are using. This chapter describes some principles common to most or all interfaces and provides a few pointers for more information. It does not provide a detailed guide for programming using any one interface.

( For more information 

For detailed information on how to include SQL in your application, see your development tool documentation. If you are using ODBC or JDBC, consult the software development kit for those interfaces.

For a detailed description of Embedded SQL programming, see The Embedded SQL Interface.

Applications inside the server 

In many ways, stored procedures and triggers act as applications or parts of applications running inside the server. You can use many of the techniques here in stored procedures also. Stored procedures use statements that are very similar to Embedded SQL.

For Info     For information about stored procedures and triggres, see Using Procedures, Triggers, and Batches.

For Info    Java classes in the database can use the JDBC interface in just the same way as Java applications outside the server. This chapter discusses some aspects of JDBC. For other information on using JDBC, see Data Access Using JDBC.


Collection Contents Index CHAPTER 9.  Using SQL in Applications Preparing statements pdf/chap9.pdf