![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 19 May 2004 @ 20:56:00 GMT
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 )
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||