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

Home -> Community -> Usenet -> c.d.o.misc -> Alphabetical

Alphabetical

From: <jmclaugh_at_cscc.edu>
Date: 1997/08/08
Message-ID: <871080906.13587@dejanews.com>#1/1

Ok here's a gooden.

I am creating a table with this column and check in it:

mcf_custnum char(25) CHECK(mcf_custnum BETWEEN 'A' AND 'z'),

I am trying to check the whole string to see if it has capital or lowercase a thru z. If it doesn't, the record isn't allowed in the table.  I am sorry if I sound like a newby, but I am and this is really frustrating. Using Oracle 7.X. The above piece of code will only check the first character and ignore the rest.

Joel McLaughlin

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet
Received on Fri Aug 08 1997 - 00:00:00 CDT

Original text of this message

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