Start a new topic

How to limit execution time, DB2?

Is it possible to set a command timeout in order to limit the risk of sending a "bad" query to the server? Ie have the query abort automatically if no response is received within a set number of seconds.

In this case specifically for a DB2 connection using the JDBC driver, databasetype DB2 LUW.

1 Comment

Hi Per,

There is no such setting, but you can set Max Rows which limits how much data is returned.

Best Regards


Login or Signup to post a comment