Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009

    Unanswered: SQL0413N Overflow occurred during numeric data type conversion.


    I'm using below query to insert into a table but I'm recieving SQL0413N Overflow occurred during numeric data type conversion sqlstate: 22003.

    query: insert into table1(select columns from table2, table3 where month(table2.column1) = (month(current date) -1) group by table1.column2)

    column1 is of Timestamp datatype and current date will fetch date without timestamp. Please help me how to proceed on this

  2. #2
    Join Date
    Apr 2006
    Provided Answers: 11
    no join condition on table2 table3 ?
    is this correct : group by table1.column2 select from t2,t3 t1 ??
    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

Posting Permissions

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