lowlydba/dba-multitool

sp_estindex: helpful error when @Filter doesn't utilize WHERE prefix

lowlydba opened this issue · 0 comments

Right now WHERE ... is required as a prefix for the @Filter parameter, but if not included the default SQL error bubbles up, which does not clearly indicate the source of the problem.

Check for the existence of the prefix and give a more specific error to the user that it must be inlcuded.