SQL prompt snippets triggering the SSMS template parameter windows
AndyHodge
Posts: 6 Bronze 1
Hi, I have a snippet that has some XML within it. When i access the snippet via the tab key, the snippet correctly inserts into the SSMS query window but then the template parameter window appears (same as ctrl shift and M). Is SQL prompt triggering this or is it some other default in SSMS? Is there any way to disable this?
Tagged:
Answers
Based on https://documentation.red-gate.com/sp/sql-code-snippets/using-ssms-templates-in-sql-prompt-snippets it looks like it may have been SQL Prompt depending on what was in the XML.
I had a quick try and this will bring up the popup:
But this doesn't:
So it seems to interpet any <> with two commas between as a reason to open the parameter template window.
Have you visited our Help Center?
And this happens if you just type the above, so the only thing would be whether the window was opened in certain cases or not and I can check if that's possible.
Have you visited our Help Center?
Have you visited our Help Center?