apache > db
Apache DB Project
 
Font size:      

Formatting display of locale-sensitive data

Formatting display of locale-sensitive data

To display dates, timestamps, numbers, and times in the format of the ij Session locale, use the LocalizedDisplay command.

Note:
These options do not change how Derby stores locale-sensitive data, simply how the tool displays the data.

The following example demonstrates using localizedDisplay in an en_US locale:

ij> VALUES CURRENT_DATE;
1
----------
2001-08-06
1 row selected
ij> localizeddisplay on;
ij> VALUES CURRENT_DATE;
1
------------------
August 6, 2001
1 row selected

Previous Page
Next Page
Table of Contents
Index