Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another select statement I need
Message
From
30/04/2002 11:41:20
 
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00650862
Message ID:
00650904
Views:
14
Yep - seems to work - Thanks!

>If you keep this up, we're going to send you a bill <s>.
>
>This is a situation for a CROSS JOIN.
>
>(Warning - this is straight off the top of my head)
>
>SELECT x.a, x.b
>FROM
> (SELECT a.value, b.value FROM a CROSS JOIN b) AS x
> LEFT OUTER JOIN j ON x.a = j.a_value AND x.b = j.b_value
>WHERE
> j.id IS NULL
>
>You can play with removing the derived table.
>
>-Mike
Ken B. Matson
GCom2 Solutions
Previous
Reply
Map
View

Click here to load this message in the networking platform