SET SQL DIALECT
SET SQL DIALECT {1 | 2 | 3}
This command specifies the Firebird SQL dialect to which the client session is to be changed.If the session is currently attached to a database of a different dialect to the one specified in the command, a warning is displayed.The values permitted are:
-
1 — which sets the client connection to SQL dialect 1
-
2 — which sets the client connection to SQL dialect 2.
-
3 — which sets the client connection to SQL dialect 3.
If executed before a CREATE DATABASE
statement, it determines the dialect of the created database.
See [isql-dialects] for details of the differences between the three dialects.
SQL> set sql dialect 1; WARNING: Client SQL dialect has been set to 1 when connecting to Database SQL dialect 3 database. ... SQL> set sql dialect 3; SQL>
The warning in the above example has had to be split over two lines to fit on the page.Normally, it consists of a single line.