Affects Version/s: None
Fix Version/s: None
It would be good to have a built-in HEX function, or another method to create character values with arbitrary ASCII values (e.g. TAB, CR/LF, etc.).
If "CHAR FOR BIT DATA" values could be converted to CHAR or VARCHAR, the x'...' syntax could be used to create binary character constants. But I found no way to convert "CHAR FOR BIT DATA" to CHAR.
I didn't find an explicit description of the X'...' syntax in the reference manual. The only 2 occurences are in the SQL examples of the LENGTH function ("VALUES LENGTH(X'FF')") and of the "CHAR FOR BIT DATA" data type ("INSERT INTO t VALUES (X'DE');"). Is the x'...' syntax an unwanted remains from an old Cloudscape version, or will it still be supported (and properly documeted) in future Derby versions?
|Field||Original Value||New Value|
|Issue Type||New Feature [ 2 ]||Improvement [ 4 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Duplicate [ 3 ]|
|Workflow||jira [ 38424 ]||Default workflow, editable Closed status [ 12802421 ]|