Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    136

    Unanswered: DB2 SQL Error: SQLCODE=-30090, SQLSTATE=25000, SQLERRMC=22

    Hi,
    I am getting below error on DB2 9.7 while same is working fine on DB2 9.5.

    We are trying to insert into Federated table.

    DB2 SQL Error: SQLCODE=-30090, SQLSTATE=25000, SQLERRMC=22

    Please help to resolve it.

    Regards,
    Regards
    Pawan Kumar

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    check which answer applies to you:
    22
    A federated insert, update, or delete operation, or a call to federated procedure with an SQL data access indication of MODIFIES SQL DATA is invalid in a function, a data-change-table-reference, a dynamic compound statement, a trigger, and an application execution environment where a

    SAVEPOINT is in effect
    scrollable cursor is used
    target view contains multiple tables or nicknames
    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
    Mar 2008
    Posts
    136
    similar code is running fine on db2 9.5
    after upgrading to 9.7, its giving error.
    Regards
    Pawan Kumar

  4. #4
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    that is the challenge - pd/psi is good for you
    there must be a difference - have you read the migration readme file for post-migration operations ??
    check diaglog and if needed increase diaglevel or take a trace and analyze..
    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

Posting Permissions

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