Hi!
If a varchar2 column in a table contains chr(0)
symbol then all the data starting from the
symbol's position till the end of the column's
value is invisible when selecting in SQL window.
(Oracle 9.2.0.4; PL/SQL Developer 6.0.0.816)
PL/SQL Developer's SQL window:
create table t (s varchar2(1000));
insert into t values ('qwe'||chr(0)||'rty');
select * from t;
-- qwe
select dump(s) from t;
drop table t;
-- Typ=1 Len=7: 113,119,101,0,114,116,121
SQL*Plus:
SQL> create table t (s varchar2(1000));
Table created.
SQL> insert into t values ('qwe'||chr(0)||'rty');
1 row created.
SQL> select * from t;
S
-------------------------------------------------
qwe rty
SQL> select dump(s) from t;
DUMP(S)
-------------------------------------------------
Typ=1 Len=7: 113,119,101,0,114,116,121
Denis
If a varchar2 column in a table contains chr(0)
symbol then all the data starting from the
symbol's position till the end of the column's
value is invisible when selecting in SQL window.
(Oracle 9.2.0.4; PL/SQL Developer 6.0.0.816)
PL/SQL Developer's SQL window:
create table t (s varchar2(1000));
insert into t values ('qwe'||chr(0)||'rty');
select * from t;
-- qwe
select dump(s) from t;
drop table t;
-- Typ=1 Len=7: 113,119,101,0,114,116,121
SQL*Plus:
SQL> create table t (s varchar2(1000));
Table created.
SQL> insert into t values ('qwe'||chr(0)||'rty');
1 row created.
SQL> select * from t;
S
-------------------------------------------------
qwe rty
SQL> select dump(s) from t;
DUMP(S)
-------------------------------------------------
Typ=1 Len=7: 113,119,101,0,114,116,121
Denis