This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||
|
4D v20 R8
literal
|
|
||
A literal is a data type consisting of either an int_number (integer), a fractional_number (fraction), an sql_string or a hexadecimal_number.
Hexadecimal notation (introduced in 4D 12.1) can express any type of data represented as bytes. A byte is always defined by two hexadecimal values. To indicate the use of this notation in an SQL command, you must simply use the standard SQL syntax for hexadecimal values:
X'<hexadecimal value>'
For example, for the decimal value 15, you can write X'0f'. You can set a blank value (zero byte) by writing X''.
Note: The and commands export binary data in hexadecimal format when these data are embedded in the main export file.
Product: 4D
Theme: Syntax rules
4D SQL Reference ( 4D v20 R8)