21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

With a special attribute (case-sensitive!):<br />

create collation es_es_ci_compr<br />

for iso8859_1<br />

from es_es<br />

case insensitive<br />

'DISABLE-COMPRESSIONS=0'<br />

Tip<br />

DDL statements<br />

If you want to add a new character set with its default collation in your database, declare and run the stored procedure<br />

sp_register_character_set(name, max_bytes_per_character), found in misc/intl.<br />

sql under your <strong>Firebird</strong> installation directory. Please note: in order for this to work, the character set must be<br />

present on your system and registered in a .conf file in the intl subdirectory.<br />

DROP COLLATION<br />

Available in: DSQL<br />

Added in: <strong>2.1</strong><br />

Description: Removes a collation from the database. Only user-added collations can be removed in this way.<br />

Syntax:<br />

DROP COLLATION name<br />

Tip<br />

Available in: DSQL<br />

Added in: 2.0<br />

If you want to remove an entire character set with all its collations from your database, declare and run the<br />

stored procedure sp_unregister_character_set(name), found in misc/intl.sql under your <strong>Firebird</strong><br />

installation directory.<br />

COMMENT<br />

Description: Allows you to enter comments for metadata objects. The comments will be stored in the various<br />

RDB$DESCRIPTION text BLOB fields in the system tables, from where client applications can pick them up.<br />

Syntax:<br />

COMMENT ON IS {'sometext' | NULL}<br />

::= DATABASE<br />

| objectname<br />

17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!