![](https://csdnimg.cn/release/download_crawler_static/9397879/bg12.jpg)
33.8.1. Setting Callbacks ..................................................................................... 781
33.8.2. sqlca ......................................................................................................... 783
33.8.3. SQLSTATE vs. SQLCODE........................................................................... 785
33.9. Preprocessor Directives ........................................................................................ 788
33.9.1. Including Files ......................................................................................... 788
33.9.2. The define and undef Directives .............................................................. 789
33.9.3. ifdef, ifndef, else, elif, and endif Directives.............................................789
33.10. Processing Embedded SQL Programs................................................................790
33.11. Library Functions ...............................................................................................791
33.12. Large Objects...................................................................................................... 792
33.13. C++ Applications ...............................................................................................793
33.13.1. Scope for Host Variables........................................................................ 794
33.13.2. C++ Application Development with External C Module ......................795
33.14. Embedded SQL Commands ...............................................................................797
ALLOCATE DESCRIPTOR ...............................................................................797
CONNECT...........................................................................................................799
DEALLOCATE DESCRIPTOR .......................................................................... 802
DECLARE ...........................................................................................................803
DESCRIBE ..........................................................................................................805
DISCONNECT ....................................................................................................806
EXECUTE IMMEDIATE....................................................................................808
GET DESCRIPTOR ............................................................................................ 809
OPEN ...................................................................................................................812
PREPARE ............................................................................................................814
SET AUTOCOMMIT .......................................................................................... 815
SET CONNECTION ........................................................................................... 816
SET DESCRIPTOR............................................................................................. 817
TYPE....................................................................................................................819
VAR...................................................................................................................... 821
WHENEVER .......................................................................................................822
33.15. Informix Compatibility Mode ............................................................................824
33.15.1. Additional Types....................................................................................824
33.15.2. Additional/Missing Embedded SQL Statements ...................................824
33.15.3. Informix-compatible SQLDA Descriptor Areas....................................825
33.15.4. Additional Functions..............................................................................828
33.15.5. Additional Constants..............................................................................836
33.16. Internals .............................................................................................................. 837
34. The Information Schema................................................................................................... 840
34.1. The Schema ..........................................................................................................840
34.2. Data Types ............................................................................................................840
34.3. information_schema_catalog_name ...........................................................841
34.4. administrable_role_authorizations....................................................... 841
34.5. applicable_roles............................................................................................841
34.6. attributes.........................................................................................................842
34.7. character_sets................................................................................................846
34.8. check_constraint_routine_usage .............................................................847
34.9. check_constraints ......................................................................................... 847
34.10. collations.......................................................................................................848
34.11. collation_character_set_applicability ............................................848
34.12. column_domain_usage ...................................................................................849
34.13. column_options..............................................................................................849
34.14. column_privileges ....................................................................................... 850
xviii