Skip to Content
0

What are the valid arguments for setting SQL_ATTR_SESSION_TIMEOUT in Hana ODBC connection handle?

Nov 18, 2017 at 06:15 AM

55

avatar image
Former Member

Hi

What are the valid and default arguments that can be set for SQL_ATTR_SESSION_TIMEOUT while creating a connection to Hana DB using ODBC driver?

I tried the following and it did not work, as my connection died after a few minutes.
Is there any other setting that I need to change on the Hana Instance to increase the session timeout?

SQLSetConnectAttr(_hdbc, SQL_ATTR_SESSION_TIMEOUT, (SQLPOINTER)(86400), SQL_IS_UINTEGER);

Thanks
Suman

10 |10000 characters needed characters left characters exceeded

Please choose tags fitting to your question. Including tags not related to the topic does only increase the noise but lowers your chances for getting an answer.

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers