Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: upper case constraint?
On 12.02.2004 16:18 D. Alvarado wrote:
> Hello, I'm working with Oracle 8.1.7 for Solaris. Is there any
> constraint I can put on a VARCHAR2 column to force its characters
> always be stored as upper case? Thanks - Dave
what about
CREATE TABLE bla
(
firstname varchar2(10) CHECK(UPPER(firstname) = firstname) );
Haven't tried it though
Thomas Received on Thu Feb 12 2004 - 09:30:54 CST
![]() |
![]() |