The initialization of Common SQL usually involves several stages. Firstly the SQL interface itself is initialized. Then, optionally, the SQL package can be loaded. Next, the database types to be used are initialized. Finally, Common SQL is used to connect to a database. These stages are explained in more detail in this section.
The rest of the definitions in this chapter are exported from thesql package. Application packages requiring convenient access to these facilities should therefore use thesql package.