No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I was trying to update an existing data and this error message came up. Does anyone know what this error message means? Fatal error: Uncaught exception 'fSQLException' with message 'MSSQL error ([Microsoft][SQL Server Native Client 10.0][SQL Server]Violation of PRIMARY KEY constraint 'aaaaaPatient_PK'. Cannot insert duplicate key in object 'dbo.patient'. The … |
|
Hello, I'm trying to update a database using php. I have to add patient id in the format of 'p99' and if it reaches the highest number it should go to the next alphabet like 'q01'. I have this piece of code but it doesn't seem too be doing the … |
|
Can anyone point me to the right direction with validating a input field like this "p99” (i.e. a letter followed by two digits). |