Re: Force input data to upercase?
From: Robert Goodwin <robert.goodwin_at_msfc.nasa.gov>
Date: 1995/12/13
Message-ID: <4ank53$no9_at_hammer.msfc.nasa.gov>#1/1
//\ /\\
/\\\ //\\\ Received on Wed Dec 13 1995 - 00:00:00 CET
Date: 1995/12/13
Message-ID: <4ank53$no9_at_hammer.msfc.nasa.gov>#1/1
In article <4ania6$i29_at_newsbf02.news.aol.com>,
bdreher_at_aol.com (BDreher) wrote:
>I'm looking for a method to force a users inserts to a table to
>switch lowercase text to uppercase.
Create a BEFORE INSERT trigger for the table. Within this trigger, use the UPPER function to uppercase the new value, like this...
:new.column_name := UPPER(:new.column_name);
: /^\ : : :___: ___.^:_._:^._______________________________________________________________ :-:.^.:-: : :_:|=|:_: Robert Goodwin : phone: (205)461-4582 : :|.|: : Database Development : fax: (205)461-4999 :-/|.|\-: New Technology, Inc. : :/ |.| \: Huntsville, AL : (__|.|__) : :_:(|):_: NASA/MSFC : e-mail: robert.goodwin_at_msfc.nasa.gov --/^\^|^/^\--------------------------------------------------------------- /\\ //\
//\ /\\
/\\\ //\\\ Received on Wed Dec 13 1995 - 00:00:00 CET