* * DECODE(*replace*(translate(variable,'1234567890','##########'),'#'),* NULL*,'NUMBER','NON NUMER') ='NON NUMER'
this condition will check if your variable is non number regards gopakumar Pandarikkal On Fri, May 6, 2011 at 7:04 PM, mallikarjuna D <[email protected]>wrote: > select case when length(translate(string,'!1234567890','!'))-length(string) > <0 then 'numeric have' > else 'no numeric') from dual > > -- > You received this message because you are subscribed to the Google > Groups "Oracle PL/SQL" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/Oracle-PLSQL?hl=en > -- Gopakumar P.G. -- You received this message because you are subscribed to the Google Groups "Oracle PL/SQL" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Oracle-PLSQL?hl=en
