Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LEFT JOIN produces more rows than in original
Message
De
04/12/2006 09:16:00
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01174573
Message ID:
01174580
Vues:
8
Thanks Sergey,

thought I was going crazy!

>See Re: Does Properties work? Message #838311
>
>>
>>I'm running a query like this:
>>
>>
>>SELECT [DateArrive]
>>      ,[StLucia_National].[dbo].[Carriers].[car_pk]
>>      ,[Flight_No]
>>      ,[BirthDate]
>>  FROM [StLuciaOld].[dbo].[EdCard]
>>	left outer join [StLucia_National].[dbo].[Carriers] on [Carrier] = [StLucia_National].[dbo].[Carriers].[car_code]
>>
>>
>>This returns 1,631,147 rows.
>>
>>However, the Properties of [StLuciaOld].[dbo].[EdCard] says there are 1,630,724 records.
>>
>>Can anyone please explain to me why the difference? I was expecting that my query should return as many rows as there are in the [StLuciaOld].[dbo].[EdCard] table.
>>
>>Thanks,
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform