 Firebird Null Guide SpanishGuía de NULL en Firebird Comportamiento y dificultades de NULL en Firebird Paul Vinkenoog 22 de julio de 2005 - Versión de documento 0.2-es-2 Traducción al castellano: Víctor Zaragoza 2 Tabla de NULL. Este artículo explora el comportamiento de NULL en el SQL de Firebird, apunta fallos comunes y te enseña como manejar de manera segura expresiones que contengan NULL o resulten en NULL. Si solo refrescarte la memoria, salta directamente al sumario (que es realmente breve). Nota Algunas sentencias y ejemplos en esta guía han sido tomados de la Guía de arranque rápido, inicialmente publicado por IBPhoenix0 码力 | 14 页 | 83.20 KB | 1 年前3 Firebird Null Guide SpanishGuía de NULL en Firebird Comportamiento y dificultades de NULL en Firebird Paul Vinkenoog 22 de julio de 2005 - Versión de documento 0.2-es-2 Traducción al castellano: Víctor Zaragoza 2 Tabla de NULL. Este artículo explora el comportamiento de NULL en el SQL de Firebird, apunta fallos comunes y te enseña como manejar de manera segura expresiones que contengan NULL o resulten en NULL. Si solo refrescarte la memoria, salta directamente al sumario (que es realmente breve). Nota Algunas sentencias y ejemplos en esta guía han sido tomados de la Guía de arranque rápido, inicialmente publicado por IBPhoenix0 码力 | 14 页 | 83.20 KB | 1 年前3
 Firebird Null Guide: NULL behaviour and pitfalls in Firebird SQL41 14.1.1. The COALESCE function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 14.1.2. Firebird 1.0: the *NVL functions . . Comparisons such as “x > y” also return boolean results, but they are generally not called predicates, although this is mainly a matter of form. An expression like Greater( x, y ) that does exactly the Chapter 14. Converting to and from NULL 14.1. Substituting NULL with a value 14.1.1. The COALESCE function The COALESCE function in Firebird 1.5 and higher can convert NULL to most anything else. This enables0 码力 | 69 页 | 479.63 KB | 1 年前3 Firebird Null Guide: NULL behaviour and pitfalls in Firebird SQL41 14.1.1. The COALESCE function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 14.1.2. Firebird 1.0: the *NVL functions . . Comparisons such as “x > y” also return boolean results, but they are generally not called predicates, although this is mainly a matter of form. An expression like Greater( x, y ) that does exactly the Chapter 14. Converting to and from NULL 14.1. Substituting NULL with a value 14.1.1. The COALESCE function The COALESCE function in Firebird 1.5 and higher can convert NULL to most anything else. This enables0 码力 | 69 页 | 479.63 KB | 1 年前3
 Firebird Null Guide Frenchles champs non-NULL sont additionnés et la somme est divisée par le nombre de champs non-NULL . Il y a seulement une exception à cette règle: COUNT(*) renvoie le dénombrement de toutes les lignes, même NULL. Une autre chose à savoir est que COUNT(*) et COUNT(FieldName) ne renvoient jamais NULL: s'il n'y a pas d'enregistrement dans l'ensemble de données les deux fonctions renvoient 0. Ainsi, COUNT(FieldName) NULL, l'argument est passé à la fonction comme une chaîne vide. A l'intérieur de la fonction, il n'y a aucune manière de savoir si cet argument représente réellement une chaîne vide ou un NULL. Donc que0 码力 | 14 页 | 84.35 KB | 1 年前3 Firebird Null Guide Frenchles champs non-NULL sont additionnés et la somme est divisée par le nombre de champs non-NULL . Il y a seulement une exception à cette règle: COUNT(*) renvoie le dénombrement de toutes les lignes, même NULL. Une autre chose à savoir est que COUNT(*) et COUNT(FieldName) ne renvoient jamais NULL: s'il n'y a pas d'enregistrement dans l'ensemble de données les deux fonctions renvoient 0. Ainsi, COUNT(FieldName) NULL, l'argument est passé à la fonction comme une chaîne vide. A l'intérieur de la fonction, il n'y a aucune manière de savoir si cet argument représente réellement une chaîne vide ou un NULL. Donc que0 码力 | 14 页 | 84.35 KB | 1 年前3
 Firebird 2.5 LangRef Update RussianBIN_XOR() BIT_LENGTH() CAST() CEIL(), CEILING() CHAR_LENGTH(), CHARACTER_LENGTH() CHAR_TO_UUID() COALESCE() COS() COSH() COT() DATEADD() DATEDIFF() DECODE() EXP() EXTRACT() MILLISECOND WEEK FLOOR() dow dpower floor getExactTimestamp i64round i64truncate ln log log10 lower lpad ltrim mod *nullif *nvl pi rand right round, i64round rpad rtrim sdow sign sin sinh sqrt srand sright string2blob strlen substr BACKUP BIN_AND BIN_OR BIN_NOT BIN_SHL BIN_SHR BIN_XOR BLOCK BREAK CALLER CEIL CEILING CHAR_TO_UUID COALESCE 19 Руководство по языку SQL COLLATION COMMENT COMMON COS COSH COT DATA DATEADD DATEDIFF DECODE0 码力 | 364 页 | 1.45 MB | 1 年前3 Firebird 2.5 LangRef Update RussianBIN_XOR() BIT_LENGTH() CAST() CEIL(), CEILING() CHAR_LENGTH(), CHARACTER_LENGTH() CHAR_TO_UUID() COALESCE() COS() COSH() COT() DATEADD() DATEDIFF() DECODE() EXP() EXTRACT() MILLISECOND WEEK FLOOR() dow dpower floor getExactTimestamp i64round i64truncate ln log log10 lower lpad ltrim mod *nullif *nvl pi rand right round, i64round rpad rtrim sdow sign sin sinh sqrt srand sright string2blob strlen substr BACKUP BIN_AND BIN_OR BIN_NOT BIN_SHL BIN_SHR BIN_XOR BLOCK BREAK CALLER CEIL CEILING CHAR_TO_UUID COALESCE 19 Руководство по языку SQL COLLATION COMMENT COMMON COS COSH COT DATA DATEADD DATEDIFF DECODE0 码力 | 364 页 | 1.45 MB | 1 年前3
 Firebird Null Guide Russian. else ...поле Job изменилось... NULL в СУБД Firebird 12 Замещение NULL значением Функция COALESCE В Firebird 1.5 есть функция, которая может конвертировать NULL во что-то еще. Это позволит вам конструкции «if (MyExpression is null) then». Функция называется COALESCE, и вы можете вызвать ее так: COALESCE(Expr1, Expr2, Expr3, ...) COALESCE возвращает первое не-NULL выражение из списка аргументов. Если полное имя человека с помощью COALESCE из первого, среднего и последнего имени, предполагая, что среднее имя может иметь значение NULL: select FirstName || coalesce(' ' || MiddleName, '')0 码力 | 15 页 | 288.08 KB | 1 年前3 Firebird Null Guide Russian. else ...поле Job изменилось... NULL в СУБД Firebird 12 Замещение NULL значением Функция COALESCE В Firebird 1.5 есть функция, которая может конвертировать NULL во что-то еще. Это позволит вам конструкции «if (MyExpression is null) then». Функция называется COALESCE, и вы можете вызвать ее так: COALESCE(Expr1, Expr2, Expr3, ...) COALESCE возвращает первое не-NULL выражение из списка аргументов. Если полное имя человека с помощью COALESCE из первого, среднего и последнего имени, предполагая, что среднее имя может иметь значение NULL: select FirstName || coalesce(' ' || MiddleName, '')0 码力 | 15 页 | 288.08 KB | 1 年前3
 firebird language reference 30 rus.......................................................................................... 453 COALESCE ............................................................................................... P | Q | R | S | T | U | V | W | X | Y | Z firebird language reference 30 rus.......................................................................................... 453 COALESCE ............................................................................................... P | Q | R | S | T | U | V | W | X | Y | Z- ::= a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z - ::= 0 | 1 | 2 | 3 | 4 | например DATE '25.12.2016' Условные выражения Выражение CASE и встроенные функции COALESCE, NULLIF. Круглые скобки Пара скобок ( ... ) используются для группировки выражений. Операции внутри 0 码力 | 719 页 | 3.98 MB | 1 年前3
 Firebird 2.5 Language Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 8.9.1. COALESCE() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GmbH (Germany) Jason Wharton (U.S.A) Trans-X (Sweden) Sanchez Balcewich (Uruguay) Cointec Ingenieros y Consultores, S.L. (Spain) Aage Johansen (Norway) Mattic Software (Netherlands) André Knappstein (Germany) | R | S | T | U | V | W | X | Y | Z Firebird 2.5 Language Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 8.9.1. COALESCE() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GmbH (Germany) Jason Wharton (U.S.A) Trans-X (Sweden) Sanchez Balcewich (Uruguay) Cointec Ingenieros y Consultores, S.L. (Spain) Aage Johansen (Norway) Mattic Software (Netherlands) André Knappstein (Germany) | R | S | T | U | V | W | X | Y | Z- ::= a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z - ::= 0 | 1 | 2 | 0 码力 | 521 页 | 2.30 MB | 1 年前3
 firebird 40 language reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473 8.9.1. COALESCE() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | R | S | T | U | V | W | X | Y | Z firebird 40 language reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473 8.9.1. COALESCE() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | R | S | T | U | V | W | X | Y | Z- ::= a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z - ::= 0 | 1 | 2 |  Multiple files can be added in one ADD clause: ALTER DATABASE ADD FILE x LENGTH 8000 FILE y LENGTH 8000 FILE z Multiple occurrences of add_sec_clause (ADD FILE clauses) are allowed; an ADD 0 码力 | 778 页 | 3.43 MB | 1 年前3
 firebird 30 sprachreferenz. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452 8.9.1. COALESCE() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | R | S | T | U | V | W | X | Y | Z firebird 30 sprachreferenz. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 452 8.9.1. COALESCE() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | R | S | T | U | V | W | X | Y | Z- ::= a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z Chapter 2. SQL Sprachstruktur Dateien können in einer ADD-Klausel hinzugefügt werden: ALTER DATABASE ADD FILE x LENGTH 8000 FILE y LENGTH 8000 FILE z Mehrfaches Vorkommen von add_sec_clause (ADD FILE-Klauseln) ist erlaubt; eine 0 码力 | 701 页 | 3.12 MB | 1 年前3
 Firebird Docwriting Guide German2005 Firebird Docwriting Guide German2005- PV - Added information on COALESCE - Corrected some spelling errors - PV - Added information on COALESCE - Corrected some spelling errors 0 码力 | 49 页 | 228.41 KB | 1 年前3
共 15 条
- 1
- 2













