IBM Support

PM51275: "DROP EXISTING TABLE" DOESN'T WORK WHEN REFERENCING SQL SERVER TABLE IN NON-DEFAULT DATABASE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Using the following syntax in the table name slot in the
    database export node:
    
    databasename.owner.tablename
    
    to create a table in a database that exists in the SQL Server
    instance but that is not the default database specified in the
    ODBC DSN being used, works as expected when creating a table.
    However, if the table already exists and I want to overwrite it
    with a subsequent stream execution, I check the "drop existing
    table" checkbox in the database export node but on the next
    stream execution I see this error:
    
    S0001[2714] [Microsoft][ODBC SQL Server Driver][SQL Server]There
    is already an object named 'xxxx' in the database.
    
    and the table is not being dropped.
    

Local fix

  • A fix for this issue is targetted for Modeler 14.2 Fix Pack 3
    and 15.0
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Modeler users connecting to a SQL Server database that is    *
    * not the default database specified in the ODBC DSN and using *
    * the "drop existing table" checkbox in the Database export    *
    * node                                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Using the following syntax in the table name slot in the     *
    * database export node:                                        *
    *                                                              *
    * databasename.owner.tablename                                 *
    *                                                              *
    * to create a table in a database that exists in the SQL       *
    * Server                                                       *
    * instance but that is not the default database specified in   *
    * the                                                          *
    * ODBC DSN being used, works as expected when creating a       *
    * table.                                                       *
    * However, if the table already exists and I want to overwrite *
    * it                                                           *
    * with a subsequent stream execution, I check the "drop        *
    * existing                                                     *
    * table" checkbox in the database export node but on the next  *
    * stream execution I see this error:                           *
    *                                                              *
    * S0001[2714] [Microsoft][ODBC SQL Server Driver][SQL          *
    * Server]There                                                 *
    * is already an object named 'xxxx' in the database.           *
    *                                                              *
    * and the table is not being dropped.                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM SPSS Modeler 14.2 FP3 or 15.0                 *
    ****************************************************************
    

Problem conclusion

  • This has been fixed in IBM SPSS Modeler 14.2 FP3 and 15.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM51275

  • Reported component name

    SPSS MODELER

  • Reported component ID

    5725A64MD

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-01

  • Closed date

    2012-06-18

  • Last modified date

    2012-06-18

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SPSS MODELER

  • Fixed component ID

    5725A64MD

Applicable component levels

  • RE20 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3RA7","label":"IBM SPSS Modeler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"14.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 September 2020