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 > UNION statement in Paradox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-30-06, 18:33
stuman413 stuman413 is offline
Registered User
 
Join Date: Sep 2003
Location: Richmond, CA
Posts: 11
Thumbs down UNION statement in Paradox

I have two tables, one with old addresses of clients and one with new updated addresses. I know that a UNION join must be performed but I am unfamiliar with the syntax. Can someone help me out?

thx
Reply With Quote
  #2 (permalink)  
Old 03-31-06, 11:56
ByteRyder52 ByteRyder52 is offline
Registered User
 
Join Date: Feb 2005
Location: Colorado Springs
Posts: 222
A Google search provided the following link, which has a good description of the syntax and statement structure.
http://www.techonthenet.com/sql/union.php
Reply With Quote
  #3 (permalink)  
Old 04-06-06, 10:59
Maroonotmoron Maroonotmoron is offline
Registered User
 
Join Date: Sep 2003
Location: Dallas
Posts: 182
You have lots of easy choices.

Alternatively you can do one of three things.

Either of the tables is keyed you can Add the newer table to the older table and it will update the addresses in the old table.

You can run a query by example and link the customers tables then change the addresses in the older table to the addresses in the new table using the changeto command.

You can run a query joining both tables so you will have an old address and a current address, you may want to clean it up so that those tables with no new address have the current address copied over to the new address. Either of these is simple and can probably be done in less than a minute.
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