In this section: |
The Adapter for Microsoft SQL Server ODBC provides several parameters for customizing the environment and optimizing performance. This topic provides an overview of customization options.
How to: |
TIMEOUT specifies the number of seconds the adapter will wait for a response after you issue an SQL request to Microsoft SQL Server.
ENGINE MSODBC SET TIMEOUT {nn|0}
where:
Indicates the adapter. You can omit this value if you previously issued the SET SQLENGINE command.
Is the number of seconds before a time-out occurs. 30 is the default value.
Represents an infinite period to wait for a response.
How to: |
You can cancel long running requests from the Web Console. Depending on the capabilities of the native JDBC driver, this action will either cancel the request entirely or break out of the fetch cycle.
How to: |
You can use the LOGINTIMEOUT command to specify the number of seconds the adapter will wait for a response from Microsoft SQL Server at connect time.
Note: For compatibility with previous releases of the adapter, TIMEOUT is available as a synonym for LOGINTIMEOUT.
ENGINE MSODBC SET LOGINTIMEOUT|TIMEOUT {nn|0}
where:
Indicates the adapter. You can omit this value if you previously issued the SET SQLENGINE command.
Is the number of seconds before a timeout occurs. The default value is approximately 15 seconds.
Represents an infinite period to wait for login response.
How to: |
PASSRECS returns the number of rows affected by a successfully executed SQL Passthru INSERT, UPDATE, or DELETE command.
Tip: You can change this setting manually or from the Web Console by clicking Adapters on the menu bar, clicking a configured adapter, and choosing Change Settings from the right-click menu. The Change Settings pane opens.
The available parameters are:
ENGINE MSODBC SET PASSRECS {ON|OFF}
where:
Indicates the adapter. You can omit this value if you previously issued the SET SQLENGINE command.
Provides the number of rows affected in the application program SCB count member after the successful execution of an SQL Passthru INSERT, UPDATE, or DELETE command. ON is the default value.
Provides no information after the successful execution of an SQL Passthru INSERT, UPDATE, or DELETE command.
How to: |
You can specify the transaction isolation level from the Web Console or using the SET ISOLATION command.
You can specify transaction isolation level by issuing the following command
ENGINE MSODBC SET ISOLATION {RU|RC|RR|SE|CH|CS}
where:
Sets the transaction isolation level to Read Uncommitted.
Sets the transaction isolation level to Read Committed.
Sets the transaction isolation level to Repeatable Read.
Sets the transaction isolation level to Serializable Read.
Sets the transaction isolation level to Chaos.
Sets the transaction isolation level to Cursor Stability, which is a synonym for Read Committed.
WebFOCUS |