Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
54
Добавлен:
18.03.2015
Размер:
684 Кб
Скачать
☆

Chapter 6

Data Manipulation

Language (DML)

In this chapter are the additions and improvements that have been added to the SQL data manipulation language subset in the Firebird 2 development cycle. Those marked as introduced in v.2.1 are available only to ODS 11.1 and higher databases.

Important

A new configuration parameter, named RelaxedAliasChecking was added to the firebird.conf in Firebird 2.1 to permit a slight relaxation of the Firebird 2.0.x restrictions on mixing relation aliases and table names in a query (see DSQL Parsing of Table Names is Stricter, below).

This parameter will not be a permanent fixture in Firebird but is intended as a migration aid for those needing time to adjust existing code. More information under RelaxedAliasChecking in the chapter “New Configuration Parameters”.

Quick Links

•Common Table Expressions

•LIST Function

•RETURNING Clause

•UPDATE OR INSERT Statement

•New JOIN Types

-NAMED COLUMNS & NATURAL JOIN

-CROSS JOIN

•INSERT with Defaults

•Text BLOB Compatibility

•Compare BLOB=BLOB

•Sorting on BLOBs

•RDB$DB_KEY Returns NULL in Outer Joins

•New Built-in Functions

•Enhancements to Built-in Functions

•IIF() Expression

•Improvement in CAST() Behaviour

•Expression Arguments for SUBSTRING()

•DSQL Parsing of Table Names is Stricter

•EXECUTE BLOCK Statement

•Derived Tables

•ROLLBACK RETAIN Syntax

•ROWS Syntax

•UNION DISTINCT

•Improved Type Coercion in UNIONs

•UNIONs Allowed in ANY/ALL/IN Subqueries

•New [NOT] DISTINCT Predicate

39

Соседние файлы в папке doc