Comments
2 comments
-
Many thanks for your post.
I tried to replicate your issue and found a syntax error in your code near GETDATE
Can you kindly try using this code instead?CREATE PROCEDURE prc_saleTranxHistory @executionDate DATETIME = GETDATE AS Begin End
As you see the code you pasted is not parsed by management studio as it throws error and as it is erroneous SQL prompt stops prompting.
Can you amend your code to above code and let me know whether it works for you or not? -
Did the above suggestion solved the purpose?
Kindly let me know if you need any help.
Add comment
Please sign in to leave a comment.
If I comment the create procedure line it starts working again. Kind of annoying though, because I work on a lot of stored procedure scripts and I need SQL prompt to work while I'm working on them.