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 > Sybase > What update its better

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-11, 15:15
eldeleon eldeleon is offline
Registered User
 
Join Date: Jun 2011
Posts: 17
What update its better

I need to update a table with 7000000 of registers and currently I am taking data with a select from two table and then update a third table with this info, and I do this on a loop in order to make sure that I have all the registries on the third table updated. Is there any other wat to do this process faster.

Thank you
Reply With Quote
  #2 (permalink)  
Old 08-31-11, 17:53
pdreyer pdreyer is offline
Registered User
 
Join Date: May 2005
Location: South Africa
Posts: 1,268
write an update statement that is a join between the 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