How do I check whether the table has a record with a primary key values?

Posted by KIM on Stack Overflow See other posts from Stack Overflow or by KIM
Published on 2010-06-02T03:28:13Z Indexed on 2010/06/02 3:33 UTC
Read the original article Hit count: 135

Filed under:

I have a exception to prevent inserting same records on my oracle.

I've haerd that COUNT(*) has lots of cost which I don't want to use.

Is there any alternative way to make it at least cost?

© Stack Overflow or respective owner

Related posts about Oracle