Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 19 May 2004 @ 20:56:00 GMT


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


Subj:   Character SET Latin vs. Unicode
 
From:   Rajiv-Devulapalli

Hi,

The following SQL creates a column COL_C with data type "CHARACTER SET UNICODE". Is there a way to default to CHARACTER SET LATIN, without changing the Create syntax?

fyi, the reason I cannot change the syntax is because the sql is auto-generated by the CRM tool.


Thanks in advance for any ideas.

Rajiv


     Create volatile table test1 as
     (
     SELECT  a_col COL_A,
             'TESTSTRING' COL_C,
             col3 COL_D
     FROM    tablename1
     ) with no data ;

-- creates the following.

     CREATE SET VOLATILE TABLE test1
          (
           COL_A CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC,
           COL_C VARCHAR(7) CHARACTER SET UNICODE NOT CASESPECIFIC,
           COL_D INTEGER)
     PRIMARY INDEX ( COL_A )


     
  <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