Firebird Null Guide: NULL behaviour and pitfalls in Firebird SQL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 17.2. Equality tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 17.2.3. Summary of (in)equality tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . resolve to NULL. If you only need a quick reference to refresh your memory, go to the summary at the end of the guide. So — what is it? In SQL, NULL is not a value. It is a state indicating that an item’s0 码力 | 69 页 | 479.63 KB | 1 年前3
Firebird 2.5 Language Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 7.6.4. BEGIN … END . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Russian language support forums, Firebird release notes, read- me files and other sources. By the end of 2014, they had the task almost complete, in the form of a Microsoft Word document. Translation translation into other languages for addition to the library. The fund-raising campaign happened at the end of 2014 and was successful. In June, 2015, professional translator Dmitry Borodin began translating0 码力 | 521 页 | 2.30 MB | 1 年前3
firebird 40 language reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366 7.7.7. BEGIN … END . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > …] */::= -- [ …]<end line> Block comments start with the /* character pair and end with the */ character pair. Text in block comments may be of any length multiple lines. In-line comments start with a pair of hyphen characters, -- and continue up to the end of the current line. Chapter 2. SQL Language Structure 24 Example CREATE PROCEDURE P(APARAM INT) 0 码力 | 778 页 | 3.43 MB | 1 年前3
Firebird 2 QuickStartGuardian or server once explicitly via the Start menu even if you opted for “Start Firebird now” at the end of the installation process. Sometimes a reboot is necessary. If you're desperately trying to start 2.1 Quick Start 23 Important • In isql, every SQL statement must end with a semicolon. If you hit Enter and the line doesn't end with a semicolon, isql assumes that the statement continues on the next rescue! Firebird 2 implements a new use of the DISTINCT keyword allowing you to perform (in)equality tests that take NULL into account. The semantics are as follows: • Two expressions are DISTINCT if they0 码力 | 40 页 | 218.42 KB | 1 年前3
firebird 5 quickstartguidedepending on the choices you made during installation. If you didn’t opt to start the server at the end of the installation process, you may do so now by right-clicking on the Firebird entry (or the Guardian) Guardian or server once explicitly via the Start menu even if you opted for “Start Firebird now” at the end of the installation process. Sometimes a reboot is necessary. You can shut the server down via the have to make an explicit connection to the security database. However, in Firebird 5 this is not the end of the story. Firebird — since Firebird 3 — allows the use of multiple security databases on a system0 码力 | 49 页 | 396.21 KB | 1 年前3
Firebird Null Guide Frenchrésultat clair true ou false . La façon correcte de tester NULL est: ...is null / ...is not null Ces tests retourneront toujours true ou false - sans tourner autour du pot. Exemples: • if (MyField is null) même bloc. Mais il est préférable souvent d'éviter les confusions en utilisant les mots clés begin...end autour des groupes de lignes. Je ne l'ai pas fait ici - je voulais écrire un faible nombre de lignes0 码力 | 14 页 | 84.35 KB | 1 年前3
firebird language reference 30 rus................................................................................... 353 BEGIN ... END .................................................................................................. /*[ …]*/ ::= -- [ …]<end line> Блочные комментарии начинаются с символов /* и заканчиваются работе процедуры, т.к. является комментарием */ B = A + 1; -- Однострочный комментарий SUSPEND; END 28 Глава 2 Типы данных Типы данных используются в случае: • определения столбца 0 码力 | 719 页 | 3.98 MB | 1 年前3
Firebird 2.5 LangRef Update RussianSET TRANSACTION IGNORE LIMBO LOCK TIMEOUT NO AUTO UNDO 9. Операторы PSQL Блок BEGIN ... END может быть пустым BREAK CLOSE CURSOR DECLARE DECLARE ... CURSOR DECLARE [VARIABLE] с инициализацией Синтаксис: CASEWHEN THEN result [WHEN THEN result ...] [ELSE defaultresult] END При использовании этого варианта сравнивается с 1, 2 и т.д. до тех пор 'Female' ELSE 'Unknown' END SEX, RELIGION FROM PEOPLE Поисковый CASE Синтаксис: CASE WHEN THEN result [WHEN THEN result …] [ELSE defaultresult] END Здесь выражение 0 码力 | 364 页 | 1.45 MB | 1 年前3
firebird 30 sprachreferenz. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353 7.7.6. BEGIN … END . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ::= /*[ …] */ ::= -- [ …]<end line> Blockkommentare beginnen mit dem Zeichenpaar /* und enden mit dem Zeichenpaar */. Text in Blockkommentaren execution of the statement since it is a comment */ B = A + 1; -- In-line comment SUSPEND; END Chapter 2. SQL Sprachstruktur 23 Chapter 3. Datentypen und Untertypen Daten verschiedener Art werden 0 码力 | 701 页 | 3.12 MB | 1 年前3
MSSQL to Firebird RussianGEN_ID(my_generator, 1); END Переход с MS SQL на Firebird 10 CREATE PROCEDURE get_my_generator RETURNS (new_value INTEGER) AS BEGIN new_value = GEN_ID(my_generator, 1); END Перенос типа данных uniqueidentifier my_variable = 5; END В обоих СУБД параметры считаются обычными переменными с установленным начальным значением. Переход с MS SQL на Firebird 13 Управляющие конструкции BEGIN..END В обоих СУБД ключевые ключевые слова BEGIN и END могут использоваться для объединения нескольких опера- торов в один блок, например, при использовании в условном операторе IF. GOTO СУБД Firebird не имеет оператора GOTO. Однако0 码力 | 22 页 | 287.07 KB | 1 年前3
共 30 条
- 1
- 2
- 3













