AW: [PHP-DB] OCI8 error problems

From: Date: Wed, 14 Feb 2001 23:07:16 +0000
Subject: AW: [PHP-DB] OCI8 error problems
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-6647@lists.php.net to get a copy of this message
> Warning: OCIStmtExecute: ORA-00001: unique constraint (CUSTOM.SYS_C007900) violated ORA-06512: at >"CUSTOM.MULT_SHIP_ADDRESS_PKG", line 162 ORA-06512: at line 1 in db.php on line 344 this has nothing to do with PHP, this is your personal DB-Problem ;-) A "constraint" is a DB-Rule that keeps you from producing invalid or senseless records. You normaly set them explicitly or be declaruing columns as unique or by disallowing null values. In this case you violated a "unique constraint" maybe you're inserting twice the same record, or there is already a record with the same id or ... you can investigate your Table defintions or search the DB with tool for the constraintsname CUSTOM.SYS_C007900 if you dont have a clue what you are violating. I'd guess your MULT_SHIP_ADDRESS_PKG is already used ... mk

« previous php.db (#6647) next »