Fonctions pour traiter les variables contextuelles
Fonctions pour travailler avec des chaînes de caractères
Fonctions pour travailler avec la date et l'heure
Fonctions permettant de travailler avec le type BLOB
Fonctions permettant de travailler avec le type DECFLOAT
Fonctions de conversion de type
Fonctions d'opérations binaires
Fonctions pour traiter les UUID
BIN_AND()DSQL, PSQL
BIN_AND (number, number [, number ...])
| Paramètre | Description |
|---|---|
number |
Entier. |
SMALLINT, INTEGER, BIGINT ou INT128
La fonction BIN_AND renvoie le résultat de l’opération ET binaire des arguments.
[fblangref-scalarfuncs-bin-or], [fblangref-scalarfuncs-bin-xor].
BIN_NOT()DSQL, PSQL
BIN_NOT (number)
| Paramètre | Description |
|---|---|
number |
Entier. |
SMALLINT, INTEGER, BIGINT ou INT128
La fonction BIN_NOT renvoie le résultat d’une opération NOT au sens du bit sur l’argument.
[fblangref-scalarfuncs-bin-or], [fblangref-scalarfuncs-bin-and].
BIN_OR()DSQL, PSQL
BIN_OR (number, number [, number ...])
| Paramètre | Description |
|---|---|
number |
Entier. |
SMALLINT, INTEGER, BIGINT ou INT128
La fonction BIN_OR renvoie le résultat de l’opération "bitwise OR" des arguments.
[fblangref-scalarfuncs-bin-and], [fblangref-scalarfuncs-bin-xor].
BIN_SHL()DSQL, PSQL
BIN_SHL (number, shift)
| Paramètre | Description |
|---|---|
number |
Entier. |
shift |
Le nombre de bits par lequel la valeur number est décalée. |
BIGINT ou INT128.
La fonction BIN_SHL renvoie le premier paramètre décalé bit à bit de la valeur du second paramètre, c’est-à-dire a << b ou a-2b.
BIN_SHR()DSQL, PSQL
BIN_SHR (number, shift)
| Paramètre | Description |
|---|---|
number |
Entier. |
shift |
Le nombre de bits par lequel la valeur numérique est décalée. |
BIGINT ou INT128.
La fonction BIN_SHR renvoie le premier paramètre décalé bit à bit de la valeur du second paramètre, c’est-à-dire a >> b ou a/2b.
L’opération effectuée est un décalage arithmétique vers la droite (SAR), ce qui signifie que le signe du premier opérande est toujours conservé.
BIN_XOR()DSQL, PSQL
BIN_XOR (number, number [, number ...])
| Paramètre | Description |
|---|---|
number |
Entier. |
SMALLINT, INTEGER, BIGINT ou INT128
La fonction BIN_XOR renvoie le résultat de l’opération XOR bit à bit des arguments.
[fblangref-scalarfuncs-bin-and], [fblangref-scalarfuncs-bin-or].