Ämne
:
MySQL: if exist update else insert
Visa ett inlägg
2012-02-02, 09:26
#
4
thorsell
Medlem
Reg.datum: Feb 2004
Inlägg: 295
thorsell
Medlem
Reg.datum: Feb 2004
Inlägg: 295
Hej,
Är det kanske REPLACE INTO som du letar efter? Tänk på att den inte är lika snabb som UPDATE och INSERT är..
Mer info:
http://dev.mysql.com/doc/refman/5.0/en/replace.html
http://www.mysqltutorial.org/mysql-replace.aspx
Svara med citat
thorsell
Visa allmän profil
Skicka ett privat meddelande till thorsell
Besök thorsells hemsida!
Hitta fler inlägg av thorsell
thorsell
Visa allmän profil
Skicka ett privat meddelande till thorsell
Besök thorsells hemsida!
Hitta fler inlägg av thorsell