SET NAMES
SET NAMES [character_set]
This command defines the character set of subsequent database connections.If the default database character set is not NONE
, then in situations where the client uses a different character set to the database, it is possible to suffer from data corruption as some character sets cannot convert some characters to a suitable character in another character set.
If you don’t pass a character set, the default will be to use the NONE
character set.
You can determine a list of the valid character sets to use with the following query:
SQL> set width RDB$CHARACTER_SET_NAME 30; SQL> select RDB$CHARACTER_SET_NAME CON> from RDB$CHARACTER_SETS CON> order by 1; RDB$CHARACTER_SET_NAME ============================== ASCII ... WIN1258