Need to check space in varchar2 columns [message #340483] |
Wed, 13 August 2008 01:43 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bsathishmca
Messages: 9 Registered: April 2006 Location: covai
|
Junior Member |
|
|
Hi ,
I need to check whether a varchar2 column have space or not.
select a.mycol1,a.mycol2 from mytable a where (decode(length(a.mycol1),length(rtrim(a.mycol1)),'No') is NULL and a.prcs_dte='11-Aug-2008';
The above query only i have used.But i need to check for n number of varchar columns in same table.Can any one suggest me.
Note : I have only select permission on the tables.So i could not able to use user_tab_col.
|
|
|
|
|
|
|
|
|