Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 18 Mar 2003 @ 18:44:17 GMT


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


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



     
  <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