Hello,
Ggf. REPLACE unter Angabe des Primary Key mit "und sonst nichts"?
mal davon abgesehen, dass ich das Grundproblem des OP absolut nicht nachvollziehen kann, halte ich den Vorschlag für gefährlich, gemessen an INSERT...ON DUPLICATE KEY UPDATE - warum? Weil ein eventuell vorhandener ON DELETE CASCADE Trigger bei Replace auf Grund des impliziten DELETE feuern dürfte - weer weiß, was das wiederum für Konsequenzen nach sicht zieht...
MfG
Rouven
--
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
When the only tool you've got is a hammer, all problems start to look like nails.
-------------------
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& (SelfCode)
When the only tool you've got is a hammer, all problems start to look like nails.