oracle 9i and my_col data type is varchar2
select my_col from my_tbl; ---> results in john
select length(my_col) from my_tbl; ---> results in 7 not 4. I think there are special charactors or control charactors at the end.
select '['||my_col||']' from my_tbl; ---> results in [john not [john]
select replace(my_col, ' ', 'x') from my_tbl; ---> implies not space
the my_col column is inserted by a java class and its data is from httpsession
the data in the httpsession is from sap.
what's happening?
select my_col from my_tbl; ---> results in john
select length(my_col) from my_tbl; ---> results in 7 not 4. I think there are special charactors or control charactors at the end.
select '['||my_col||']' from my_tbl; ---> results in [john not [john]
select replace(my_col, ' ', 'x') from my_tbl; ---> implies not space
the my_col column is inserted by a java class and its data is from httpsession
the data in the httpsession is from sap.
what's happening?