Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 15 May 2003 @ 11:26:55 GMT


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


Subj:   Re: Inserting Timestamps using Queryman
 
From:   Dieter N�th

Anomy Anom wrote:

  I have a table with the following column, amongst others :-  


  DWH_LOAD_TMP TIMESTAMP(6) FORMAT 'yyyy-mm-ddbhh:mi:ss.s(6)' NOT NULL  


  I am trying to place the currrent date & time into this column, but keep getting "Invalid Operation on ANSI Datetime or interval value" error. How can I insert a time stamp into this row using queryman??  



According to your format string you're running V2R5.

I don't have any problems inserting CURRENT_TIMESTAMP using the V2R5 demo on my notebook.

If you created the table using ODBC/QueryMan, do a SHOW TABLE DWH_LOAD_TMP to see if it's really a Timestamp.

Btw, why don't you specify a DEFAULT CURRENT_TIMESTAMP.


Dieter



     
  <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