Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing names
Message
De
31/08/2001 06:03:47
 
 
À
31/08/2001 05:49:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00551278
Message ID:
00551280
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Richard,
Off the top of my head, I'd try something like the following:
SELECT *;
 FROM table1;
 WHERE name1 NOT IN ;
   (SELECT RTRIM(fName) + " " RTRIM(mName) + " " + RTRIM(lName) FROM table2)
>Hi All,
> I have two tables which has records of people with their names. Table1 has the names in one variable, thus: name1="RICHARD NDIVO MUTISO" while Table2 has the names in three different variables, thus: fname="RICHARD" mname="NDIVO" lname="MUTISO".
>
>I want to check that the names in table1 are the same as those in table2 (spelling and all!). How do I go about this? I'll appreciate all the help I get from you guys.
>
>Thanks all in advance.
>
>Cheers, Richard.
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform