Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2013

    Red face Unanswered: Conversion of Timstamp

    Hi to all,
    I am facing problem with timestamp.
    I have a datatime value like '9/26/2012 5:56:53 AM' and my database field column is timestamp. I want to insert this value into Timstamp column in DB2.
    When I insert value into DB2 column. It return me error "Invalud character found in character string argument of function ''".
    I tried it with different timestamp format but value cannot insert.

    Please help me

    I will be thanks to all in advance

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5-V11 Fundamentals- DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified

  3. #3
    Join Date
    May 2003
    When possible, you should always insert into TIMESTAMP columns in this format. This will avoid any confusion about client territory date/timestamp formatig:

    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts