Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing names
Message
From
31/08/2001 06:03:47
 
 
To
31/08/2001 05:49:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00551278
Message ID:
00551280
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform