Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: sqlplus: dump function doesn't with unsigned character?
In article <c9d20f14.0211280827.3a15f71b_at_posting.google.com>, cdube_at_mecanica.ca
says...
>
>Hello
>
>On unix client workstation I connect to my DB with sqlplus.
>I have a table with raw field (data),
>1 -> insert -> B14458B1...
>2 -> select dump(data,17) from table;
>3 -> I got this -> b1,D,X,b1
>
I would be worried if I got that or this:
>I should get this -> ±,D,X,±
>
the only thing you should get is this:
ops$tkyte_at_ORA920.LOCALHOST> create table t ( data raw(8) );
Table created.
ops$tkyte_at_ORA920.LOCALHOST> insert into t values ( 'B14458B1' );
1 row created.
ops$tkyte_at_ORA920.LOCALHOST> select dump(data) from t;
DUMP(DATA)
ops$tkyte_at_ORA920.LOCALHOST> select dump(data,16) from t;
DUMP(DATA,16)
ops$tkyte_at_ORA920.LOCALHOST> select data from t;
DATA
raw is raw -- no translation, I don't understand what you are trying to do here.
Can you post a complete example?
>I played wth NLS_LANG I got the same result
>It looks like I cannot convert unsigned character?
>
>Any ideas?
>
>I have Oracle database created with the following parameters:
> character set US7ASCII.
> national character set US7ASCII
> ....
>Thanks for your help
-- Thomas Kyte (tkyte@oracle.com) http://asktom.oracle.com/ Expert one on one Oracle, programming techniques and solutions for Oracle. http://www.amazon.com/exec/obidos/ASIN/1861004826/ Opinions are mine and do not necessarily reflect those of Oracle CorpReceived on Fri Nov 29 2002 - 10:23:26 CST