Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > Problem with IN...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 9081 of 9520
Post > Topic >>

Problem with IN predicate

by amir <ahsharif@[EMAIL PROTECTED] > Jul 13, 2008 at 06:13 AM

I have a query in Oracle like this:
Select 1 from dual
where
(1,1) IN ( (1,1), (2,1) )

and want to convert it to DB2.
I tried this query:
Select 1 from sysibm.sysdummy1
where
(1,1) IN ( (1,1), (2,1) )
I replaced "," with SPACE and ";" but got error.

It will be appreciated to help me to solve this problem.
Best,
 




 5 Posts in Topic:
Problem with IN predicate
amir <ahsharif@[EMAIL   2008-07-13 06:13:54 
Re: Problem with IN predicate
Lennart <Erik.Lennart.  2008-07-13 07:18:41 
Re: Problem with IN predicate
amir <ahsharif@[EMAIL   2008-07-14 22:28:03 
Re: Problem with IN predicate
Lennart <Erik.Lennart.  2008-07-15 02:22:48 
Re: Problem with IN predicate
amir <ahsharif@[EMAIL   2008-07-19 04:16:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 21:20:33 CST 2008.