On Sun, Jul 10, 2005 at 06:23:19PM +0300, Octavian Rasnita wrote: > Can't you use the replace sql query? > > Use it like you use "insert". It will insert new rows where there are no > rows, and do an update where there are rows... >
Negative. REPLACE is just a shortcut for DELETE FROM... INESERT INTO (at least in MySQL) with some pretty neat gimmicks to find out what exactly to DELETE. Performance is the same but you have less control. Peter -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>