"Andrew Hazen" <[EMAIL PROTECTED]> wrote: > > Does anyone know a way to do multiple unique updates in one query, the > way you can in an insert query? > > > > I have a table with several thousand records. Periodically every record > in this table needs one field to be updated. Slows down the process if > each record is updated with a separate query. >
You can use UPDATE with WHERE clause, or may be REPLACE is a solution for you. Could you explain your problem more detailed? -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]