As for the join:
SELECT National_Stock_Number, Acquisition_Method_Code, Acquisition_Method_Suffix_Code, Annual_Demand_Value, Total_On_Hand_Qty, Acquisition_Cost, Total_Quantity_On_Backorder, critical_item_code
FROM DSS_USER.C_FILE INNER JOIN NSN ON National_stock_Number = NSN.NSN
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Ok I think my problem is the query cant find the query NSN.NSN although it is in the current database. The passthru query is getting its data from a large database on the network. Would I have to add a (queries.) at the beginning. It is more a question of how to let SQL know I am referring to the data in the query NSN, I am unsure of the format fo this.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.