DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Limit SQL query runtime

  1. #1
    Join Date
    Feb 2004
    Posts
    77

    Limit SQL query runtime

    Is there a way put a time limit on a query in PL/SQL. Say if I have a cursor/for loop and the corresponding query does not return data in 10 seconds, just continue and don't perform that operation.

  2. #2
    Join Date
    Nov 2001
    Location
    UK
    Posts
    152
    The neareast you could probably get is to set up a profile for the user running the proc, then catch the error when the query times out in your PL/SQL.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width