Hi,I'm using SQLCMD to export queries to flat files and I'm wanting to ensure long running queries will be stopped after a certain amount of time. I found on MSDN that SQLCMD supports the '-t' parameter, which is supposed to timeout the query.I'm running the command below with the -t switch, but it doesn't timeout after 5 seconds as I would expect. It will continue to run, until I manually kill it. SQLCMD -S localhost -d adventureworks2014 -t 5 -q "SELECT * FROM Person.Person"I don't see where the -t switch is deprecated. Any ideas? Am I doing something wrong?Appreciate any help!
↧