Can someone direct me to some help on where to find out how to pass the results of one query to another?Scenario is...I have a Product table, and a PriceListProductJoin Table. I need to be able to feed the Product Table a businesscodeid, and description and have the results (productID) sent to another query doing a select.These two do most of it:SELECT [ProductID] ,[BusinessCodeID] ,[InternetAvailable] ,[Discontinued] ,[DropShip] ,[ItemNumber] ,[Description] ,[DefaultPrice] FROM [Inventory].[dbo].[Product] where [BusinessCodeID] = '16' and Description like 'Paw%' (returns 6 rows)select * from [Inventory].[dbo].[PriceListProductJoin] where [PriceListID] = '2' and productid >= '2296' and productid <= '2300' (returns 6 rows)
I know this is probably old hat for you all but it is making my head hurt.Thanks in Advance