How to trim data in existing table
AvaDec 18 2009 — edited Dec 21 2009Hi All,
We have one table in that have records more than 2653147 records,
Now i would like to trim spaces in column in some columns the data type is VARCHAR2 it contains all spaces.
Now i want to trim and store it as zero.
Iam trying in following method but it is taking long time running more than 1 hour.
UPDATE FPRDTA_F6411
SET SADCTO = TRIM(SADCTO)
WHERE LENGTH(SADCTO)>LENGTH(TRIM(SADCTO))
Kindly advice is the above one is correct?
Thanks in Advance,
Ava