473,811 Members | 3,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Diffence between Quantified Predicates: IN , ANY, and SOME?

Hi,
Hi I am a newbie in DB2 and Mainframe.I would like to know if there is
any diffence between the Quantified Predicates: IN , ANY, and SOME.

Thank you very much for your valuable time.

Regards,
Praveen.

Nov 12 '05 #1
2 1824
ANY = SOME.
IN = =ANY = =SOME.
also: NOT IN = <>ALL.
All of which is fully clear from the documentation, which states the
equivalence, and which should be your first source of information.

"Praveen" <pr************ **@gmail.com> wrote in message
news:11******** *************@o 13g2000cwo.goog legroups.com...
Hi,
Hi I am a newbie in DB2 and Mainframe.I would like to know if there is
any diffence between the Quantified Predicates: IN , ANY, and SOME.

Thank you very much for your valuable time.

Regards,
Praveen.

Nov 12 '05 #2
Thank you very much for your kind reply.

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1728
by: Thong Nguyen | last post by:
I wrote my own Predicate class for .NET 1.1 which allowed composite predicates using operator overloading... for example: Predicate p1 = {...}; Predicate p2 = {...}; Predicate p1andp2 = ~(p1 ^ p2); // ^ is the AND operator in logic notation
0
1168
by: dayzman | last post by:
Hi, M'm writing a program to output the results of transforming logical predicates using deMorgan's. Does anyone know of a library that handles logical predicates? Cheers, Michael
1
1544
by: Trent Buck | last post by:
I'm trying to find CPP predicates that allow conditional compilation based on the compiler's standard / features / extensions. So far I have determined that, for GCC, - __STRICT_ANSI__ implies -ansi. - ! __STDC_VERSION__ implies -std=c89 or -std=gnu89. - 199409 == __STDC_VERSION__ implies -stdc=iso9899:199409. - 199901 == __STDC_VERSION__ implies -std=c99 or -std=gnu99. I'd like to be able to - distinguish between cXX and gnuXX (i.e....
2
3715
by: Markus Neifer | last post by:
Hi, i've read that 'Col BETWEEN expr1 and expr2' became stage 1 and indexable in DB2 UDB for z/OS Version 8. Is there any way to find out which predicates are stage 1 and indexable in V7/V8? Had a look in the SQL references but no luck. TIA, Markus
1
1227
by: David Veeneman | last post by:
I've been looking at predicate delegates in connection with List<Tsearch methods. My initial reaction is that the mechanism looks cumbersome, to the point where I'm wondering if it's not just simpler to stick with a foreach loop. If I understand List<Tsearch predicates correctly, I'll need to write a predicate, which is no big deal. But I will also need a member variable to set the value of the search criteria that the predicate uses. ...
5
2705
by: Altu | last post by:
Hi all, What does something like mean in an XPath query like /c/d ? If I am not wrong, /c/d means return all d elements that their parent is c and their grand parent is the root element and have a child that is a and their a child has a child b. But I don't know when we don't use an expression that starts with ./ or .// in a predicate and instead use an epxression that starts with / or // what it would mean.
7
1514
balabaster
by: balabaster | last post by:
Okay, after having bashed my head against this long enough I thought of you guys... I thought having exhausted just about every other .NET concept I would come back to predicates because Microsoft's "EndsWithSaurus" demonstration is beyond useless at explaining what this is useful for. Having previously understood delegates and got my head around those, predicates finally makes sense...although I still think Microsoft's example is ridiculous. I...
0
1423
by: raylopez99 | last post by:
Inspired by Jon, I did a demo prorgram showing three ways to declare predicates, in for example the "FindIndex" and "FindLastIndex" methods of Lists, but in general you can do this for any predicate. Note the most compact way is to use Lambda notation and anonymous functions, the first way shown below. The most 'intuitive' way is to 'hard code' the predicate using a predicate method, the second way shown below, but the best way (for me)...
4
3887
by: Arun Srinivasan | last post by:
Hi I was using a query previously, that was efficient select * from table where pred1 and pred2 and pred3; Later I was asked to introduce new ones, but they were not based on table columns but variables declared in SP. select * from table where pred1 and pred2 and pred3 and variable1 ='number1 and variable2 =number2;
1
10410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10138
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9214
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7674
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6897
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5700
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3878
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3027
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.