SET WARNINGS
or SET WNG
SET {WARNINGS | WNG} [ON | OFF]
This command specifies whether warnings are to be output.A few examples for which isql
issues warnings are:
-
SQL statements with no effect.
-
Pending database shutdown.
-
API calls that may be replaced in future versions of Firebird.
-
Expressions that may cause differing results in different versions of Firebird.
-
Connecting to a database with a connection dialect different from the database dialect.
-
In Firebird 1.0, SQL statements with ambiguous join specifications.More recent Firebird versions will raise an exception rather than a warning.
As with many of the set commands, set warnings acts as a toggle if no parameter is supplied.