Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL - What's different?
Message
De
23/01/2003 10:49:44
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
23/01/2003 10:22:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00744726
Message ID:
00744738
Vues:
12
Hi!

If used SQL how BD with SqlExec() function, you can do Left Join in 1st case thus:
SELECT field1, field2, field3 FROM table1, table2 ;
WHERE table1.field1 *= table2.field1
Bye!

>The 2nd version (using the JOIN syntax) is preferred as it allows things >like LEFT OUTER JOINS.

>>When I first learned SQL syntax, I wrote my own selects like
>>
>>SELECT field1, field2, field3 FROM table1, table2 WHERE table1.field1 = table2.field1
>>
>>Now, I'm using VFP 7/8 View Designer, and their format for the same would be
>>
>>SELECT field1, field2, field3 FROM table1 INNER JOIN table2 ON table1.field1 = table2.field1
>>
>>So, I'm wondering what/why the difference is between the statements.
>>
>>Chris.
Erick
Força Sempre!
Strength Always!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform