🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Parameterizing the database connection

User: "rachel_lomasky"
New Altair Community Member
Updated by Jocelyn

I have a process that makes several database touches (read/write/execute sql).  Is it possible to parameterize the database connection?  I'd like to be able to switch it to write to the dev/staging/prod databases without having to manually change each operator.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "MartinLiebig"
    Altair Employee
    Accepted Answer

    Hi,

     

    i think the most convinient way is to use a Subprocess or Branch opertor and choose depending on a macro.

     

    Antoher way could be to use a macro in the Read Database COnnection setting. You need to put this one into the XML though.

     

    Best,

    Martin