|
Example MkTblsEx: The class COSessionEx wraps three interfaces, ITableDefinition, IIndexDefinition and ITableDefinitionWithConstraints, which provide the same functionality of various DDL (Data Definition Language) statements. This example is designed to answers your following questions.
For how to use DDL statements to complete the above tasks, see example MkTbls. The advantage of this method over use of DDL statements is more generic and portable, and your data sources are not required to support common DDL standards. DDL statements are dependent on each of DBMSs. |