RE: [PHP-WIN] Unique id Number

From: Date: Mon, 14 Jan 2002 17:03:50 +0000
Subject: RE: [PHP-WIN] Unique id Number
Groups: php.windows 
Request: Send a blank email to php-windows+get-11429@lists.php.net to get a copy of this message
From: Asendorf, John Sent: Monday, January 14, 2002 4:49 PM >You can, but there are a number of issues to deal with. One of the >potential solutions is to grab the MAX value from the table id field and >then increment that number for the next inserted record. The problem arises >though when you have multiple users attempting to add records... Concurrency and update anomalies problems in the DB environment has to be dealt with independently of auto-incremental values. These types of problems will always arise, and thus has to be considered if they might constitute a problem.

« previous php.windows (#11429) next »