Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting records from two different tables in one query
Message
De
15/03/2010 11:38:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01454516
Message ID:
01454563
Vues:
51
>>>It depends, but in most cases I tried LEFT JOIN was the fastest method.
>>
>>What is that most case and how it depends? In all cases I tried it was the slowest.
>>Cetin
>
>I think it depends on number of records in each table.

You think:) Ok I understand that. My tests were with large tables,
PS: If you check excution plan of 'in', exists and left join, the latter adds an extra step to other plans.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform