All,

I'm trying to get the correct syntax for a nested query but I keep
getting ODBC errors.  Below are the two select statements that
I am trying to combine together.  Any hints would be appreciated.

This code below obviously doesn't work, but the sub select statements
work.

SELECT * FROM product_update
        where IN
        (SELECT * FROM product_update where produp_productname = '#product#' AND 
produp_version = '#ver#' AND produp_build > '#build#')
        (select * FROM product_update where produp_productname = '#product#' AND 
produp_version > '#ver#')


D-


~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~
Get Your Own Dedicated Win2K Server!      Instant Activation for $99/month w/Free 
Setup from SoloServer      PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support     
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to