I have a table with fields "ip_addr char(18), mtime timestamp(14)" and I want to create a UNIQUE index on ip_addr without losing the current ip list. I want to just keep the newest entry for each ip_addr based on timestamp; is there a way to do this, or should I create a new table <with a SQL QUERY> then truncate and repopulate?
-- Michael T. Babcock C.T.O., FibreSpeed Ltd. http://www.fibrespeed.net/~mbabcock --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php