![]() |
|
"be consistent" | |
PerlMonks |
Re^2: [OT] SQL "on duplicate key" custom actionby haukex (Archbishop) |
on Oct 13, 2021 at 09:47 UTC ( #11137472=note: print w/replies, xml ) | Need Help?? |
It depends on what DB, but it's basically the following to "ignore" it, INSERT INTO records (PriKey, Foo, Bar) VALUES (1, 'Hello', World') ON DUPLICATE KEY UPDATE Foo=Foo; How does that address my question?
In Section
Seekers of Perl Wisdom
|
|