If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > Comparing 2 tables in Paradox 10

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-25-03, 11:56
lcoldewe lcoldewe is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
Comparing 2 tables in Paradox 10

I need to compare 2 tables with the exact same structure & find the differences based on one field. One table has more records than the other. PLEASE HELP!! I tried writing SQL. Haven't had any luck.
Reply With Quote
  #2 (permalink)  
Old 11-25-03, 12:49
lmckelvy lmckelvy is offline
Registered User
 
Join Date: Oct 2003
Posts: 107
Is the smaller table a subset of the larger?

OR,

does the smaller have some records that are not in the larger, and vice-versa?

Are the tables keyed?

Also, is this a one time thing or something you will need to do again and again?
Reply With Quote
  #3 (permalink)  
Old 11-27-03, 20:03
lcoldewe lcoldewe is offline
Registered User
 
Join Date: Nov 2003
Posts: 2
Thanks for your response & help.

Well, this was passed on to me from someone else. I am not 100% sure that the smaller table is a subset of the larger. I think that the smaller one may have some records that are not in the larger, and vice-versa. How do I check if the tables are keyed? Do you mean having a primary key? This is the first time that I've worked in Paradox.... I have several years experience in MS Access databases.

Quote:
Originally posted by lmckelvy
Is the smaller table a subset of the larger?

OR,

does the smaller have some records that are not in the larger, and vice-versa?

Are the tables keyed?

Also, is this a one time thing or something you will need to do again and again?
Reply With Quote
  #4 (permalink)  
Old 12-19-03, 13:34
Maroonotmoron Maroonotmoron is offline
Registered User
 
Join Date: Sep 2003
Location: Dallas
Posts: 182
You need to set up a "set query", MYSET, by using example elements and then connecting it to the other table with with the operator Not in "MYSET". MYSET in this case is an example element in a field common to both tables.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On