Link to home
Start Free TrialLog in
Avatar of it-rex
it-rex

asked on

case when between teradata and oracle

I have this sql in teradata sql
how can I implement the same logic of more when condition and when condition in oracle

Case
         When  (Character_Length(Trim(Cl_Pro.Prog)) = 5
   And    SUBSTRING(Cl_Pro.Prog
   FROM  1 FOR 1) = '7'
   And   Cl_Pro.SUgt In('01', '08', '27'))
ASKER CERTIFIED SOLUTION
Avatar of awking00
awking00
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry, Oracle syntax is SUBSTR not SUBSTRING
Avatar of it-rex
it-rex

ASKER

thanks
Glad to help :-)