Anyone knows to stop the execution of a query if it reaches xx secs? like set_time_limit() in PHP.
Thanks