Add BAM Archive SQL job

  • Hello

    I've been asked to create an SQL job that archives the BAM Primary Import table that comes with Biztalk 2006. I believe that a stored procedure will be executed to transfer data to the BAMArchive table but I don't know if this is right. Does anyone know how to create this job?

    Regards

    m

  • Is there not facility within the application to schedule backups of the databases on a regular basis?



    Shamless self promotion - read my blog http://sirsql.net

  • Well, I'm not intrested to back up the database. Only to clear some tables in the database and transfer it to an archive database.

  • If you are just looking to archive then create the new table with the same schema as the old.

    Insert into that table based off of some incrementing timestamp value, delete everything before that timestamp on the original after checking the data matches up.

    Wrap that in a procedure and it's all good.



    Shamless self promotion - read my blog http://sirsql.net

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

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