Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 22 Mar 2004 @ 21:57:18 GMT


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


Subj:   Re: Queryman import question
 
From:   jim.bagley

Karen,

This worked for me.

CREATE SET TABLE CBMTDB01.QMAN_IMPORT_TST_JTB ,NO FALLBACK ,
     NO BEFORE JOURNAL,
     NO AFTER JOURNAL
     (
      COL1 CHAR(05) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL,
      COL2 TIMESTAMP,
      COL3 CHAR(05) CHARACTER SET LATIN NOT CASESPECIFIC NOT NULL);


INSERT INTO  CBMTDB01.QMAN_IMPORT_TST_JTB
   VALUES (?,CAST((? (DATE,FORMAT'YYYY/MM/DD')) AS TIMESTAMP(0)),?);

Jim Bagley


You will need to substitute the proper date format your file is using.

is in



     
  <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