Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
sp_BlitzFirst throws an error if it calls sp_BlitzCache with @SortOrder = 'memory grant' for SQL Server versions that do not support it #1910
Version of the script
What is the current behavior?
Ideally the triggered sp_BlitzCache would not be called with the @SortOrder = 'memory grant' for SQL Server versions that would cause it to fail. This would allow sp_BlitzFirst to fully complete its analysis.
To address this we can take the SQL Server version check from sp_BlictCache and implement it in sp_BlitzFirst.
Ahead of the line
What is the expected behavior?
Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?