You do seem to be right about what it's doing.. Because the following query - exactly the same except I'm using table aliases in the subquery - does not work.
select email from WEBREPORTS.dbo.WEBALLUSERS where userid in (select distinct X.USERID from ADSPRD.dbo.research_request_log X where X.submitted > '2007-01-01') and email is not null Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276923 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4