Using Not Equal in VIEW
From: mbmccoy (mbmccoy_at_ems.att.com)
Date: 11/30/04
- Previous message: Luca Bianchi: "Re: User Guest"
- Next in thread: David Portas: "Re: Using Not Equal in VIEW"
- Reply: David Portas: "Re: Using Not Equal in VIEW"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Nov 2004 11:43:27 -0500
I am trying to build a VIEW. I have a situation where I want to exclude
certain records from this view. Using a combination of criteria. I want to
show all orders expect when CO_Code = 'ATLN' AND Service_Code = 'PL'
So I wrote my where statement as:
where (Co_Code != 'ATLN' and Service_Code != 'PL')
In the results I don't see any 'PL' orders. I want PL orders. I just
don't want PL orders when the Co_Code is 'ATLN'.
Is there another way to exclude records with out using the !=. Because I
think my problem is when I say !='PL' It sees that as seperate criteria and
not as the combination of the two criteria.
- Previous message: Luca Bianchi: "Re: User Guest"
- Next in thread: David Portas: "Re: Using Not Equal in VIEW"
- Reply: David Portas: "Re: Using Not Equal in VIEW"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|