Create a procedure in the default database to automatically apply the relevant values for the session-level set options and ensure that precomputed result set DDL commands successfully replicate even if the Replication Server version does not include the rs_ddlsession_setting and rs_ddlsession_resetting system functions.
You must create the procedure in the default Adaptive Server database. See Adaptive Server Enterprise Transact-SQL Users Guide > SQL Building Blocks > isql utility > Default Databases. If you do not specify a database, the default is the master database. You can include the procedure in the login script of the original user or in the login script of the maintenance user if dsi_replication_ddl is on. Once the user logs in to the database to apply transactions, the procedure applies the relevant values for the session-level options and all operations of the user are impacted by the session-level set options..