User Tools

Site Tools


savestoredproc_mssql_accelerator_.htm
Navigation:  SQL Drivers > MSSQL Accelerator >====== SAVESTOREDPROC (MSSQL Accelerator) ====== Previous pageReturn to chapter overviewNext page

DRIVER('MSSQL', '/SAVESTOREDPROC= TRUE | FALSE ' )

[ SaveProc“ = ] SEND(file, '/SAVESTOREDPROC [ = TRUE | FALSE ]' )

When the MSSQL Accelerator sends SQL statements to the MSSQL server, the server creates a temporary stored procedure on the server and executes it. The stored procedure is reused on subsequent executions of the same SQL statement. By default, (SAVESTOREDPROC=TRUE), and these stored procedures remain on the server until connection to the server is dropped.

To remove the procedures as soon as possible, set SAVESTOREDPROC=FALSE. Note that this is something done by MSSQL and may vary with different versions of MSSQL. For complete details on how MSSQL optimizes your code please refer to the documentation of the specific version of MSSQL you are using in the section dealing with calling MSSQL via ODBC.

savestoredproc_mssql_accelerator_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1