Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 tables, Same records, How seek with SELECT?
Message
 
À
13/11/1997 09:25:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00059325
Message ID:
00060259
Vues:
27
>>>>And query:
>>>>Select * from Table1 ;
>>>>where Table1.Key1+Table1.Key2+Table1.Key3 NOT IN ;
>>>>(Select Table2.Key1+Table2.Key2+Table2.Key3 From Table2)
>>>>is notsatisfactory for me.
>>>>Do you understand me?
>>>
>>>Not exactly. It doesn't matter how many fields constitute primary key. And it doesn't matter how identical tables are. The only thing you should care is primary key which allow you to bring missing (or all minus missing, etc) records form one of the table. Maybe, you could give an example what records you really expect to retrieve.
>>
>>Main thing is that there isn't one field as primary key, there is three!
>
>For your case it doesn't matter how many fields constitute primary key.
Hm, I don't understand why?
Giedrius
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform