MichaelaLee
Programmer
Hi Everyone,
I'm having a slight problem with a query I'm inporting from MS Access to SQL Server. One problem is that when I run the query in SQL Query Analyzer I get no results, but is I run it in Access with the tables attached (dbo_ in the query) I get the results I expect. Can you look at the query and se if there is anything unusual about it. Here is the sql:
SELECT Programs.ProgramID, Programs.ProgramName, db
rders.OrderId, db
rders.OrderDate, Products.UnitPrice, db
rderDetail.Quantity, db
rderDetail.ProductId, Products.ProductName
FROM Products INNER JOIN ((Programs INNER JOIN db
rders ON Programs.ProgramID = db
rders.ProgramId) INNER JOIN db
rderDetail ON db
rders.OrderId = db
rderDetail.OrderId) ON Products.ProductID = db
rderDetail.ProductId;
What do you all think. I hope you can help. Thanks
Michael
I'm having a slight problem with a query I'm inporting from MS Access to SQL Server. One problem is that when I run the query in SQL Query Analyzer I get no results, but is I run it in Access with the tables attached (dbo_ in the query) I get the results I expect. Can you look at the query and se if there is anything unusual about it. Here is the sql:
SELECT Programs.ProgramID, Programs.ProgramName, db
FROM Products INNER JOIN ((Programs INNER JOIN db
What do you all think. I hope you can help. Thanks
Michael