RE: [PHP-DB] Problem with SQL
| From: | Peter Lovatt | Date: | Sun, 08 Sep 2002 11:38:33 +0000 |
| Subject: | RE: [PHP-DB] Problem with SQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21638@lists.php.net to get a copy of this message | ||
hi
It is trying to insert the value '127' into a key field (or indexed field)
when it already has a record with '127' in that field. You may know it as a
key violation
It means you are trying to insert a record with a duplicate primary key
HTH
Peter
-----------------------------------------------
Excellence in internet and open source software
-----------------------------------------------
Sunmaia
www.sunmaia.net
tel. 0121-242-1473
-----------------------------------------------
-----Original Message-----
From: Brtosz Matosiuk [mailto:madsiuk@morellos.net]
Sent: 08 September 2002 10:22
To: php-db@lists.php.net
Subject: [PHP-DB] Problem with SQL
Hi all
SQL gives me a strange error and I can't find any info about it. Mayby
someone of you could give me a clue what is wrong.
The error is : 'Duplicate entry '127' for key 1'
Thanks for any help
----------
-= MAdSiuK (madsiuk@morellos.net) =-
"(...) jestesmy nihilistami, w nic nie wierzymy, doslownie w nic(...)"
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php