Invalid Object Error for Stored Procedures with OPTION (RECOMPILE)
mcole
Posts: 3 New member
in SQL Prompt
I have noticed that when finding invalid opbjects , if the stored procedure being scanned has "OPTION (RECOMPILE)" within it, we get an invalid object returned with "A severe error occurred on the current command. The results, if any, should be discarded."
I assume this is a bug. Any ideas on a work around or a fix?
Tagged:
Answers
I couldn't reproduce it using the attached script in Prompt 9.2.6.6145. Can you upgrade your Prompt if not already?
If problem persists for you, can you share a script to assist a reproduction?
Thanks.
Tianjiao Li | Redgate Software
Have you visited our Help Center?
As you already knew, I couldn't reproduce the problem with your script either.
Can you send us your Prompt log in case we can find anything useful? I'll reach you by email.
Tianjiao Li | Redgate Software
Have you visited our Help Center?