|
|
Archives of the TeradataForum
Message Posted: Tue, 18 Mar 2003 @ 18:44:17 GMT
Subj: | | Storing userid into table field |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Tuesday, March 18, 2003 13:19 -->
Hi All,
I want to store userid of Teradata user into a table row , who insert, modify this table .In DDL who I can define userid field with
what default value that it automatically get userid.
CREATE SET TABLE TEST ,NO FALLBACK ,
NO BEFORE JOURNAL,
NO AFTER JOURNAL
(
X INTEGER,
TEXT1 VARCHAR(200) CHARACTER SET LATIN NOT CASESPECIFIC,
USERID VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC DEFAULT
USERNAME )
PRIMARY INDEX ( X )
Thanks in advanced
| |