SQL 2005 to Oracle - Transactional, "pre" scripts of snapshot

  • Trying to migrate existing replication process (which works great!) from SQL 2000 to 2005.

    2005 version creates snapshot pre scripts that do table DROP.

    The tables do not yet exist in the Oracle system, so I get back errors stating table can't be dropped, and replication stops. I've tried a profile with skiperrors for 20046:942, but to no avail.  Is there some trick to preventing these scripts from being run, or for skipping these errors?  The pre script contents are essentially DROP TABLE tablename, followed by a GO.

    Error messages:

    ORA-00942: table or view does not exist

    (Source: MSSQL_REPL, Error number: MSSQL_REPL20046)

    Get help: http://help/MSSQL_REPL20046

    ORA-00942: table or view does not exist

    (Source: MSSQLServer, Error number: 942)

    Get help: http://help/942


    Have Fun!
    Ronzo

  • Think I figured it out.  I just have to change each of the sp_addarticle lines in my script to include @pre_creation_cmd specified as NONE.


    Have Fun!
    Ronzo

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply