Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Insert trigger to enforce uniqueness

Insert trigger to enforce uniqueness

From: tram <tram_e_at_hotmail.com>
Date: 3 Mar 2002 17:43:59 -0800
Message-ID: <26ee1067.0203031743.c3da536@posting.google.com>


Hi,

Our third party application doesn't allow to create Unique indexes on a column.
I want to write an insert trigger which allow nulls but no duplicate values on a column (peopleID column). Waht is the best way to write BEFORE INSERT TRIGGER for thsi kind of requirement? Please give sample Received on Sun Mar 03 2002 - 19:43:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US