See the user comments.
A useful discussion about dealing with concurrent user conflicts in mySQL database.
A nice windows batch file.
The rules of the road for INPUT date information.
Here is a nice article on a tough subject.
A little tutorial on the subject will come in handy.