Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Tue, 03 Apr 2007 @ 20:16:15 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Restricting String column to accept only Lower Case Values
From:   Dieter Noeth

shankar.chitragar wrote:

  Basically I want this to be tested in DDL like the below one  

          > Create table 
          > (
          > col1 varchar(10)  constraint CHECK(col1=is_lower(col1))
          > }

Hey, you're almost there :-)

     col1 varchar(10)  CHECK(col1n (casespecific) =lower(col1))


  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023