Compile-time changes for some set parameters

In Adaptive Server releases earlier than 15.0.2, the set parameters took effect after the stored procedure was executed or recompiled. Adaptive Server release 15.0.2 and later allows you to use optimizer set parameters at compile time to affect the optimizer in stored procedures or batches.

NoteThis changed behavior may effect the composition of the result set. Sybase recommends that you review the result set created by the 15.0.2 versions of the set parameters before using them in your production systems.

You must reset the set parameter before returning from the stored procedure or the execution of subsequent stored procedures may be affected. If you intend to propogate this change to subsequent stored procedures, use export_options parameter.

Adaptive Server changes the compile-time behavior for these parameters: