2

Is it possible to execute a stored procedure with a timeout value in SSMS?

Like:

EXEC dbo.StoredProcedureName timeoutValue(not parameter)
MrProgram
  • 5,044
  • 13
  • 58
  • 98
  • 1
    Topic also discussed [here](http://stackoverflow.com/questions/3091783/is-it-possible-to-set-a-timeout-for-an-sql-query-on-microsoft-sql-server) – sbiz Jun 08 '15 at 10:13

1 Answers1

1

As far as I know you can't do this that way. Insted you can configure the generic timeout of the server:

REF: https://technet.microsoft.com/en-us/library/ms189040.aspx

You also can set this on SSMS:

REF Changing the CommandTimeout in SQL Management studio

Community
  • 1
  • 1