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 > Database Server Software > MySQL > Copy table data to another table without duplication

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-04, 20:05
cardy cardy is offline
Registered User
 
Join Date: Jul 2004
Posts: 2
Copy table data to another table without duplication

I have 2 tables. Once a day, I would like to INSERT or UPDATE second
table with data FROM first table with stored procedure.script execution...
I would like to copy these fields from table1 $ID,$username,$password,$email
to table 2 $ID,$username,$password,$email . Ensuring that only new the entries ($ID,$username,$password,$email)to table 1 are copied based on $ID to table 2.
Does anyone have the syntax that could do this.?

Hope this is clear enough.
Thanks

Cardy
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