Hi,
Could someone please help me ?
I have to increase a counter for each record I insert into a table (the
value of the counter is stored in the record). I cannot use 'auto_increment'
because the counter has to start from 0 every new day. The question is : I
have to perform a SELECT query to get the current counter value and then an
INSERT to put my record, but what will happen if two (or more) users are
querying at the "same" time ??? Is there a way to "lock" the database during
the SELECT/INSERT routine ?
Thanks for your tips.
Matt.