- On the Tools menu, click Options, and then click the Tables/Queries tab.
- Do one of the following:
- Select the This database check box to set the query mode to ANSI-92 SQL.
- Clear the This database check box to set the query mode to ANSI-89 SQL.
Note Microsoft Access closes, compacts, and then re-opens the database before the new setting takes effect.
Set the ANSI SQL query mode default for new databases
- On the Tools menu, click Options, and then click the Tables/Queries tab.
- Clear the Default for new databases check box.
- On the Tools menu, click Options, and then click the Advanced tab.
- Select Access 2002 - 2003 from the Default File Format list box.
- Click the Tables/Queries tab.
- Select the Default for new databases check box.
Notes
- ANSI-89 is the default setting for a new Microsoft Access database in 2002 - 2003 and 2000 file format. You cannot set the SQL query mode new database default to ANSI-92 in 2000 file format because the option is disabled; ANSI-89 is the only query mode setting available for a database in Access 2000 file format.
- Although you can set the query mode to ANSI-92 in a replica, Access will ignore it. You can only set this option in the Design Master of a replica set.