Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 26 Mar 2003 @ 23:00:04 GMT


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


Subj:   Re: Timestamp difference
 
From:   Ganga Palakattil

This is the Show Table from Queryman

CREATE SET TABLE LOGDB.PROCESS_LOG ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL
     (
      LOG_ID INTEGER NOT NULL,
      PROCESS_NAME VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
      PROCESS_STATUS CHAR(1) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
      DURATION_IN_MIN INTEGER,
      PROCESS_MESSAGE VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC,
      IDENTIFIER_NAME VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC,
      IDENTIFIER VARCHAR(20) CHARACTER SET LATIN NOT CASESPECIFIC,
      BEGIN_TIME CHAR(23) CHARACTER SET LATIN NOT CASESPECIFIC,
      END_TIME CHAR(23) CHARACTER SET LATIN NOT CASESPECIFIC,
      OPERATOR_ID VARCHAR(30) CHARACTER SET LATIN NOT CASESPECIFIC)
PRIMARY INDEX ( LOG_ID );

This is the DDL executed from Queryman

CREATE SET TABLE LOGDB.PROCESS_LOG,
NO FALLBACK,NO BEFORE JOURNAL,NO AFTER JOURNAL
(
        LOG_ID                  INTEGER         NOT NULL,
        PROCESS_NAME            VARCHAR(30)     NOT NULL,
        PROCESS_STATUS          CHAR(1)         NOT NULL,
        DURATION_IN_MIN         INTEGER         NULL,
        PROCESS_MESSAGE         VARCHAR(30)     NULL,
        IDENTIFIER_NAME         VARCHAR(30),
        IDENTIFIER              VARCHAR(20),
        BEGIN_TIME              TIMESTAMP(32)   NULL,
        END_TIME                TIMESTAMP(32)   NULL,
        OPERATOR_ID             VARCHAR(30)     NULL
)
PRIMARY INDEX (LOG_ID);

Other than the Queryman how do you execute the DDL and get Timestamp in the Show table?


Thanks

Ganga



     
  <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