View Single Post

   
  #6 (permalink)  
Old 02-28-2008, 07:44 PM
Thomas Baxter
 
Posts: n/a
Default Re: conditional union statement

Hi David,

Thanks, that will do what I'm after with a bit of fiddling.

Tom

In article <GNKdnYq-FZS3MTKi4p2dnA@giganews.com>,
REMOVE_BEFORE_REPLYING_dportas@acm.org says...
> SELECT *
> FROM territories
> WHERE regionid = 1
> OR (regionid = 2 AND @both = 1)
>
>

Reply With Quote