How about nvl instead of decode(length()... Quoting Stephane Faroult <sfaroult@xxxxxxxxxxxx>: > RTF SQL Reference, functions, TRANSLATE(). With a pinch of > DECODE(LENGTH(), > 0, 999, ...) it should do. > Regards, > > Stephane Faroult > -- regards Wolfgang Breitling Oracle 7,8,8i,9i OCP DBA Centrex Consulting Corporation www.centrexcc.com ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx put 'unsubscribe' in the subject line. -- Archives are at //www.freelists.org/archives/oracle-l/ FAQ is at //www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------