04.12.2012 Views

ASE ODBC Driver and OLE DB Provider Migration Technical - Sybase

ASE ODBC Driver and OLE DB Provider Migration Technical - Sybase

ASE ODBC Driver and OLE DB Provider Migration Technical - Sybase

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12<br />

Connection Tab<br />

Login Time Out [logintimeout/LoginTimeout]: The time, in seconds, <strong>O<strong>DB</strong>C</strong> driver waits for a response from the <strong>ASE</strong><br />

after it sends the login request. After the time interval (15 seconds by default), the driver will issue a TDS attention<br />

event, indicating to the <strong>ASE</strong> it no longer wants to wait for a response. The <strong>O<strong>DB</strong>C</strong> <strong>Driver</strong> will throw SQL_ERROR with<br />

message “The comm<strong>and</strong> has timed out.”<br />

High Availability Information<br />

Enable High Availability [hasession/HASession]: (Unchecked by default) When checked, the <strong>O<strong>DB</strong>C</strong> <strong>Driver</strong> will set flag<br />

on the login request to use <strong>ASE</strong> High Availability feature.<br />

(Default = 0)<br />

Alternate Servers [alternateservers/AlternateServers]: In establishing a connection, <strong>O<strong>DB</strong>C</strong> <strong>Driver</strong> by <strong>Sybase</strong> will first<br />

try to connect to the primary host <strong>and</strong> port defined in the General tab of the Adaptive Server Enterprise dialog box.<br />

If <strong>O<strong>DB</strong>C</strong> fails to establish a connection, <strong>O<strong>DB</strong>C</strong> will go through the list of hosts <strong>and</strong> ports specified in the Alternate<br />

Servers field. Example entries:<br />

<strong>Driver</strong>=AdaptiveServerEnterprise;server=server1;<br />

port=port1;UID=sa;PWD=;HASession=1;<br />

AlternateServers=server2:port2,...,serverN:portN;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!