Mailinglisten-Archive |
>> Ich will per "UPDATE page SET count=count+1 WHERE id=id" eine
>> Zugriffstatistik erstellen. Wenn es aber die zu erhöhende id noch nicht
>> gibt, muß ein neuer Datensatz angelegt werden. Kann ich soetwas direkt
>> mit MySQL abchecken und bei Bedarf anlegen?
Michael> In MySQL direkt ist mir nix bekannt.
Michael> Michael
http://www.mysql.com/development/todo.html
Things that must be done in the real near future
Come up with a nice syntax for a statement that will
UPDATE the row if it exists and INSERT a new row if the
row didn't exist. (Like REPLACE works with INSERT /
DELETE)
Herzlich
Werner Stürenburg
--
MySQL in Deutschland: Anpassung, Unterstützung, Schulung für Sie
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Dr.math. W. Stürenburg <werner_(at)_mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Consultant, Trainer
/_/ /_/\_, /___/\___\_\___/ Bielefeld, Germany
<___/ www.mysql.com +49-5224-997-407, GSM +49-172-938 0 238
---
!!NEU!!
Fragen und Antworten zu MySQL und dieser Liste unter
-->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive