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: Charles Hooper <hooperc2...@yahoo.com>
Date: Wed, 04 Jul 2007 06:26:36 -0700
Local: Wed, Jul 4 2007 9:26 am
Subject: Re: NOT IN
On Jul 4, 8:47 am, colmkav <colmj...@yahoo.co.uk> wrote:
> is it possible to write an SQL Oracle query where you want to check SELECT > 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 COUNT(*) FROM TMP_RISK_SUM WHERE (BOOK,STRATEGY,EXPOSURETYPEID) NOT IN ( SELECT BOOK, STRATEGY, EXPOSURETYPEID FROM TMP_RISK_SUM_ORACLE); You may find that this syntax executes more efficiently: Charles Hooper 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.
| ||||||||||||||