Firebird 2.5 Language Reference
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477 RDB$FIELDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493 RDB$RELATION_FIELDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . metadata. Keep in mind that one UTF8 character occupies up to 4 bytes, thus limiting the size of CHAR fields to 8,191 characters (32,767/4). The actual “bytes per character” value depends on the range the0 码力 | 521 页 | 2.30 MB | 1 年前3firebird 40 language reference
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716 RDB$FIELDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 738 RDB$RELATION_FIELDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . metadata. Keep in mind that one UTF8 character occupies up to 4 bytes, thus limiting the size of CHAR fields to 8,191 characters (32,767/4). The actual “bytes per character” value depends on the range the0 码力 | 778 页 | 3.43 MB | 1 年前3Firebird Null Guide: NULL behaviour and pitfalls in Firebird SQL
procedures. • If you insert a record into a table and you only provide values for part of the fields, the remaining fields will be initialised to NULL except where a default value is in effect or a value is assigned assigned by a “before insert” trigger. • If you add a column to a table that already has records, the fields added to the existing records will be NULL, except if you declare the column as NOT NULL and specify default value for it. Note Chapter 1. What is NULL? 4 that both conditions must be satisfied for the fields to become anything other than NULL. Chapter 1. What is NULL? 5 Chapter 2. NULL support in Firebird0 码力 | 69 页 | 479.63 KB | 1 年前3Firebird Internals: Inside a Firebird Database
upwards from the low address to the higher address as each new record fragment is added. The two fields in this array are: dpg_offset Two bytes, unsigned. The offset on the page where the record fragment record there Chapter 8. Data Page — Type 0x05 22 are no more fields in the header while the header for a fragmented record has a few more fields. How to tell the difference? See the details of the rhd_flags stored in full in both. The same applies to fields in the same record — all storage compression is done within each individual field and previously compressed fields have no effect on the current one. (In0 码力 | 63 页 | 261.00 KB | 1 年前3firebird language reference 30 rus
........................................................................................ 658 RDB$FIELDS ................................................................................................ ............................................................................... 676 RDB$RELATION_FIELDS ................................................................................................ имеют одинаковую структуру и состоят из столбцов (column). Столбцы таблицы часто называют полями (fields). Таблица должна иметь хотя бы один столбец. С каждым столбцом связан определённый тип данных SQL0 码力 | 719 页 | 3.98 MB | 1 年前3firebird 30 sprachreferenz
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643 RDB$FIELDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 664 RDB$RELATION_FIELDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . einer Tabelle haben die gleiche Struktur und bestehen aus Spalten. Tabellenspalten werden oft als fields bezeichnet. Eine Tabelle muss mindestens eine Spalte haben. Jede Spalte enthält einen einzelnen0 码力 | 701 页 | 3.12 MB | 1 年前3Firebird 2.5 LangRef Update Russian
|| COUNT(*) || ')' FROM RDB$RELATION_FIELDS RF WHERE RF.RDB$RELATION_NAME = 121 Руководство по языку SQL R.RDB$RELATION_NAME ) AS "Max. IndexSel (# fields)" FROM RDB$RELATIONS R JOIN RDB$INDICES SQL WHERE RELS.RDB$RELATION_NAME = FLDS.RDB$RELATION_NAME ) ID, COUNT(*) COUNT_FIELDS FROM RDB$RELATION_FIELDS FLDS GROUP BY FLDS.RDB$RELATION_NAME Второй запрос возвращает для каждой таблицы её позицию: SELECT FLDS.RDB$RELATION_NAME TABLE_NAME, (SELECT FLDS2.RDB$FIELD_NAME FROM RDB$RELATION_FIELDS FLDS2 WHERE (FLDS2.RDB$RELATION_NAME = FLDS.RDB$RELATION_NAME) AND (FLDS2.RDB$FIELD_POSITION0 码力 | 364 页 | 1.45 MB | 1 年前3Firebird Generator Guide: A guide on how and when to use generators in Firebird
. . . . . . . . . . . . . . . . . . . . . . . . . 12 4.4. Generators for IDs or auto-increment fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.4 multi-user/multi-transaction environments, JUST DON’T DO IT! 4.4. Generators for IDs or auto-increment fields Giving a newly inserted record an ID (in the sense of a unique “serial number”) is easily done with beyond transaction control. Inserts can fail because of constraints (Unique Key violations, NOT NULL fields being NULL, etc.) or other metadata restrictions, or simply because the transaction that issued0 码力 | 20 页 | 169.00 KB | 1 年前3firebird gfix
Rebuild ICU dependencies Firebird uses the ICU library for some of its collations, and for indices on fields using those collations. When moving a database between different Firebird instances — without using backup and restore — and the destination Firebird instance uses a different ICU version, querying on fields with those collations or using those indices will fail. A similar situation can occur — on Linux0 码力 | 44 页 | 247.13 KB | 1 年前3Firebird Docwriting Guide German
class="table">COUNTRY table has two fields:COUNTRY andCURRENCY . Ausgabe: The COUNTRY table has two fields: COUNTRY and CURRENCY. function0 码力 | 49 页 | 228.41 KB | 1 年前3
共 17 条
- 1
- 2