Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 152247

All versions of Microsoft SQL Server (not MySQL). Please also add a version-specific tag, like sql-server-2016, since it is often relevant to the question.

2 votes
1 answer
443 views

Not able to regulate/auto grow tempdb size

We have a SQL Server 2017 (RTM-CU15) AG group (3 servers, 2 HA synchronous) that has had performance issues for the past two months. During the resolution of an issue yesterday we found that the insta …
Luke's user avatar
  • 129
0 votes

sqlagent job - using system folder path with CmdExec

Just precede your cmd statement with a CALL. This will resolve the environment variable. Tested on SQL Server 2016 eg CALL %DTEXEC2016_PATH% /FILE <path to script>
Luke's user avatar
  • 129
0 votes
0 answers
87 views

Automating Alerting on Blocking with Queues and Event Notifications [duplicate]

I need to automate email notifications on blocking on some SQL 2016 servers. I have had a look at running a job through the SQL agent but seems hack n slash. I found an alternative method online that …
Luke's user avatar
  • 129
0 votes
2 answers
1k views

Unexpected index scan instead of seek on update

We have a third party application which is performing badly. An update statement is performing a scan instead of a seek, and is not suggesting a missing index. Why is this happening? I was expecting …
Luke's user avatar
  • 129