Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Trigger for Minimum character entry

606396Nov 1 2007 — edited Nov 2 2007
Hello,
I would like to be able to make users enter a minimum number of characters, eg

refno char(4), when they insert data, they can ONLY enter 4 characters, no more no less.

I have been told this can't be done with a check constraint, and I have to a Trigger, but I have no idea where to start!
Cheers, Sam.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2007
Added on Nov 1 2007
13 comments
916 views