U better use CASE  where u ca n use AND OPERATOR

On Fri, Sep 26, 2008 at 3:48 PM, Roopesh S <[EMAIL PROTECTED]> wrote:

>
> HI there,
>
> I have a table "TSL_BASE_PRODUCT_V";  My Condition is as follows:
>
>     If NON_RETAIL_IND = 'Y', display as 'O'
>     If NON_RETAIL_IND = 'N'  and DELIVERY_AUTHORISATION_TYPE = 'N'  display
> as 'R'
>     If NON_RETAIL_IND = 'N'  and DELIVERY_AUTHORISATION_TYPE  NOT=  'N',
> display as 'B'
>
> 1 more question.. Can i use "AND" operator in decode????
> --
> Thanx'N'Regards
> Roopesh
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle-PLSQL@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to