| 4D v20literal | ||||||||||||||
| 
 | 
    4D v20
 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 SQL EXPORT DATABASE and SQL EXPORT SELECTION commands export binary data in hexadecimal format when these data are embedded in the main export file.
	Produkt: 4D
	Thema: Syntax rules
	
        
        
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D -  SQL Reference ( 4D v20)
	
	
 Fehler melden
Fehler melden