C# Programming
03-31-2009, 05:51 PM
Dear Friends,
I have small application in C#. to insert some record in a table. I am using select max(primary key) from tablenme to get the max id and insert the record with other information.
If single person work it is running properly. But if 4-5 peoples run the same application and they try to save the record some time it gives error as "ora 00001 unique constraint (constraint name) violated"
Your quick response will be highly appriciated
Regards
Murtuza
I have small application in C#. to insert some record in a table. I am using select max(primary key) from tablenme to get the max id and insert the record with other information.
If single person work it is running properly. But if 4-5 peoples run the same application and they try to save the record some time it gives error as "ora 00001 unique constraint (constraint name) violated"
Your quick response will be highly appriciated
Regards
Murtuza