MARS Connection for MS SQL Server

Discussion created by Andrew_Garland_7890 on Jul 21, 2016
Latest reply on Sep 5, 2016 by Christian_Boeck_57
Hello Automic Community!

I wanted to post an discussion around the Multiple Active Result Sets (MARS) connection option available when setting up the SQL Driver Connect in the configuration files. Automic Software advises users to use the MARS connection whenever possible as it allows for multiple active statements on a single connection to the database. This not only improves performance potential but can prevent the application from waiting to process or cancel all result sets from one batch before executing another batch on the connection.

You can find more details on the benefits of using MARS here:

To enable the Automation Engine to use a MARS connection you simply need to add the line "Mars_Connection=Yes" at the end of the SQLDRIVERCONNECT section within the files ucsrv.ini and the database configuration files. More details on the SQL Driver Connection can be found in the Automation Engine guide here: