The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.databases.oracle.misc
From: sybrandb <sybra...@gmail.com>
Date: Wed, 04 Jul 2007 06:19:20 -0700
Local: Wed, Jul 4 2007 9:19 am
Subject: Re: NOT IN
On Jul 4, 2:47 pm, colmkav <colmj...@yahoo.co.uk> wrote:
> is it possible to write an SQL Oracle query where you want to check the correct syntax is > whether a combination of fields exist in another query > eg I tried the following but got an error: > select count(*) from tmp_risk_sum where book, strategy, exposuretypeid select count(*) from tmp_risk_sum where (book, strategy, exposuretypeid) not in (select book, strategy, exposuretypeid from tmp_risk_sum_ORACLE) Note the extra () Syntax errors are preferably resolved by using the documentation. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||