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.

Table of Contents<br />

1. Introduction ....................................................................................................................................... 1<br />

Subject matter ................................................................................................................................ 1<br />

Versions covered ............................................................................................................................ 2<br />

Authorship ..................................................................................................................................... 2<br />

2. Reserved words and keywords ............................................................................................................ 3<br />

Added since InterBase 6 ................................................................................................................. 3<br />

Newly reserved words ............................................................................................................ 3<br />

New keywords ....................................................................................................................... 4<br />

Dropped since InterBase 6 .............................................................................................................. 6<br />

No longer reserved ................................................................................................................. 6<br />

No longer keywords ............................................................................................................... 6<br />

Possibly reserved in future versions ................................................................................................ 6<br />

3. Miscellaneous language elements ........................................................................................................ 7<br />

-- (single-line comment) ................................................................................................................. 7<br />

Shorthand casts .............................................................................................................................. 7<br />

CASE construct .............................................................................................................................. 8<br />

Simple CASE ......................................................................................................................... 8<br />

Searched CASE ...................................................................................................................... 9<br />

4. Data types and subtypes ................................................................................................................... 10<br />

BIGINT data type ......................................................................................................................... 10<br />

BLOB data type ............................................................................................................................ 10<br />

Text BLOB support in functions and operators ....................................................................... 10<br />

Various enhancements .......................................................................................................... 11<br />

New character sets ....................................................................................................................... 11<br />

Character set NONE handling changed ........................................................................................... 12<br />

New collations ............................................................................................................................. 13<br />

Unicode collations for all character sets ................................................................................ 14<br />

5. DDL statements ............................................................................................................................... 15<br />

COLLATION ................................................................................................................................. 15<br />

CREATE COLLATION ........................................................................................................... 15<br />

DROP COLLATION ............................................................................................................... 17<br />

COMMENT ................................................................................................................................... 17<br />

DATABASE .................................................................................................................................. 18<br />

CREATE DATABASE ............................................................................................................ 18<br />

ALTER DATABASE .............................................................................................................. 19<br />

DOMAIN ...................................................................................................................................... 21<br />

CREATE DOMAIN ................................................................................................................ 21<br />

ALTER DOMAIN .................................................................................................................. 21<br />

EXCEPTION ................................................................................................................................. 22<br />

CREATE EXCEPTION ........................................................................................................... 22<br />

CREATE OR ALTER EXCEPTION .......................................................................................... 23<br />

RECREATE EXCEPTION ....................................................................................................... 23<br />

EXTERNAL FUNCTION ................................................................................................................ 23<br />

DECLARE EXTERNAL FUNCTION ........................................................................................ 23<br />

ALTER EXTERNAL FUNCTION ............................................................................................. 24<br />

FILTER ........................................................................................................................................ 25<br />

DECLARE FILTER ................................................................................................................ 25<br />

INDEX ......................................................................................................................................... 26<br />

iv

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

Saved successfully!

Ooh no, something went wrong!