Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2011
    Posts
    1

    Unanswered: DB2 Merger SQLCODE=-199

    Hellow

    I'm new here and I have problem with MERGE in our DB2 database.
    I gor this error:
    HTML Code:
    ILLEGAL USE OF KEYWORD FOR.  TOKEN MICROSECONDS MICROSECOND SECONDS SECOND MINUTES MINUTE HOURS WAS EXPECTED. SQLCODE=-199, SQLSTATE=42601, DRIVER=4.8.86
    but in my SQL code there isn't eny FOR keyword

    Any suggestions what to do ?

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    would it not be easier to show the executed command syntax and the complete message.
    we can not see what you are doing or not doing..
    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 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    The error is clearly on line 8.

Posting Permissions

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