Subject | Re: [firebird-support] Weird RDB$DB_KEY printing in ISQL |
---|---|
Author | Ivan Prenosil |
Post date | 2007-09-06T23:58:15Z |
> I'm trying to figure out the following ISQL behavior:Yes. If the column is OCTETS string, than ISQL will show it using Hex numbers.
>
> SQL> select rdb$db_key, substring(rdb$db_key from 1 for 8)
> CON> from rdb$database;
>
> DB_KEY SUBSTRING
> ================ ================
>
> 0000000100000001 0100000001000000
>
>
> Does db_key get some special treatment?
And if the column name is DB_KEY, then it is displayed backwards
because it actually represents number, not string.
Ivan
http://www.volny.cz/iprenosil/interbase/