Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outer Join
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Titre:
Outer Join
Divers
Thread ID:
01026074
Message ID:
01026074
Vues:
63
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform