Comments
3 comments
-
Hi Nick,
I think (although I'm not 100% sure) that you may need to escape the parentheses by placing them in curly braces as follows: {(} and {)}. I think this will mean that they'll then appear, minus the curly braces, in the inserted text.
Hope that helps.
Thanks,
Bart -
Hi Bart,
Thank you for a quick and prompt reply. My apologies for calling it a bug and jumping the guns. My bad :oops:
Cheers
-
No problem, glad that sorted it out.
Cheers,
Bart
Add comment
Please sign in to leave a comment.
I think I may have found a bug in SQL Prompt 2 in Auto Insert Snippet section.
I do a lot of stored procedures, views & functions so I have a snippet stored under a name of "nproc", "nview" & "nfunc".
The code for the "nproc" is below.
When I type in SQL 2000 Query Analyzer or SQL 2005 Management Studio I get the code below. Notice how the braces are gone..!
Other nasty thing is when I try to test the snippet within the SQL Promopt window after editing it or adding it, this particular ("nproc", "nview" & "nfunc") just hangs the computer to it knees (hard reboot is required if I don't open task manager quickly and kill SQL Promot EXE). Basically when testing the snippet it just goes in an endless loop (I think).
Has anyone experienced this before? Please let me know if I am doing something wrong here.
Cheers