DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Checking for uppercases

  1. #1
    Join Date
    Mar 2004
    Posts
    5

    Checking for uppercases

    Hello all!

    Is there a way, using a check clause, to see if part of an INSERT is all in uppercase? I'll be more specific...

    Say I have a column that's CHAR(8). Which has to be composed of the first 4 are letters, last 4 numbers, like so AAAB9999. But it's important that the AAAB is in uppercase. I had wrote something along the lines of:

    CHECK (UPPER(SUBSTR(column,1,3))....

    But it doesn't work.

    What am I doing wrong?

    Thanxs for the help,

    Steph

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    duplicate, closing
    Jeff Hunter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width