Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select SQL
Message
De
01/07/2003 11:53:45
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00805730
Message ID:
00805732
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Olá Vinicius!

Para isto você tem que usar a claúsula "Left Join", que pode ser assim:
SELECT Tab1.Codigo, Tab2.Codigo from tab1 Left Join tab2 On tab1.codigo = tab2.codigo

* Ou

SELECT Tab1.Codigo, Tab2.Codigo from tab1, tab2 where tab1.codigo *= tab2.codigo  && Com o "*", funciona no SQL Server não me recordo se no VFP tb
Até mais.
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform