Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle Select/Insert Locking
Ed Avis wrote:
> "M2" <m2_at_nowhere.com> writes:
>
>
>>I have an application that records when a user has read a message in a table >>that looks like so: >> >>MESSAGE_ID >>USERNAME >> >>The code that inserts into this table does a select prior to the >>insert to check that it won't try to do something that will cause a >>constraint violation (there's a PK on the two columns). This works >>fine most of the time but every now and again when really hitting the >>site you can get a problem.
No one suggested it because it is an idea that would be enough to cause me to Fail a student on a final and demonstrates a complete lack of understanding of relational database architecture, concepts, and theory. In other words ... You don't remove a pimple from your nose by cutting off your head.
I strongly urge you to take a class on relational database basics.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Tue Feb 10 2004 - 14:34:14 CST
![]() |
![]() |