Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements > CREATE DATABASE >

ANSI-Compliant Databases

When you use the LOG MODE ANSI option in the CREATE DATABASE statement, the database that you create is an ANSI-compliant database. The following example creates an ANSI-compliant database:

CREATE DATABASE employees WITH LOG MODE ANSI 

ANSI-compliant databases are different from databases that are not ANSI compliant in several ways, including the following features:

Other slight differences exist between databases that are ANSI compliant and those that are not. These differences are noted with the related SQL statement in this manual. For a detailed discussion of the differences between ANSI compliant databases and databases that are not ANSI-compliant, see the IBM Informix Database Design and Implementation Guide.

Creating an ANSI-compliant database does not mean that you automatically receive warnings for Informix extensions to the ANSI/ISO standard for SQL syntax when you run the database. You must also use the -ansi flag or the DBANSIWARN environment variable to receive such warnings.

For additional information about -ansi and DBANSIWARN, see the IBM Informix Guide to SQL: Reference.

Related Information

Related statements: CLOSE DATABASE, CONNECT, DATABASE, and DROP DATABASE

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]