Pocket PC Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > Pocket PC Thoughts Updates

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-22-2008, 02:49 AM
Thinker
rlobrecht's Avatar
Join Date: Aug 2006
Posts: 333

I would think you could do something like
$userids = select user_id from users_table;
for each $userid in $userids
update users_table set join_date = 'select min(post_date) from post_table where user_id=$userid' where user_id = $userid;
next

and if that doesn't work you could just select all the user_ids into a text file, and then create another query file with the middle query explicitly specified for each user_id and then run that query file.
 
Reply With Quote
Reply


Thread Tools
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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 04:41 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7