General information
Forum:
Microsoft SQL Server
Category:
Database management
Hi All,
I have a simple select that uses outer join, however when i execute the statement it acts like inner join. Here is my statement.
SELECT dbo.Customers.CompanyName, dbo.Customers.ContactName, dbo.Customers.City, dbo.Orders.RequiredDate
FROM dbo.Orders LEFT OUTER JOIN
dbo.Customers ON dbo.Orders.CustomerID = dbo.Customers.CustomerID
WHERE (dbo.Customers.CustomerID = 'Zacha')
I want to pull all records from Orders table.. I have done this before, but can't figure out why it is not working here.
thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only