Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Join
Message
De
18/06/2002 16:12:46
Jason Dalio
Northern Interior Regional Health Board
Prince George, Colombie Britannique, Canada
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
00669751
Message ID:
00669889
Vues:
10
I might be missing something here but after reading your SQL statement here is my 2 cents. Your LEFT join is being superceded byt the fact that you are essentially doing a straight JOIn by specifying WHERE thold.date = @asofdate and yhold.date = @prevdate. This WHERE clause makes it impossible for the LEFT join to grab record that don't match because your WHERE clause has told it to ignore all records unless there is a match on the date.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform