I am getting an error while applying the SQL Prompt styles
somnath12342
Posts: 1 New member
in SQL Prompt
Hi,
I am getting the below error while formatting one Sproc. SQL Prompt version is 10.13
Unable to cast object of type 'RedGate.SqlPrompt.Metadata.Candidates.Parameters.ScalarParameterCandidate' to type 'RedGate.SqlPrompt.Parser.Parser_Candidates.ScalarVariableCandidate' error .
Please let me know how to fix it.
Thanks...
I am getting the below error while formatting one Sproc. SQL Prompt version is 10.13
Unable to cast object of type 'RedGate.SqlPrompt.Metadata.Candidates.Parameters.ScalarParameterCandidate' to type 'RedGate.SqlPrompt.Parser.Parser_Candidates.ScalarVariableCandidate' error .
Please let me know how to fix it.
Thanks...
Tagged:
Best Answer
-
chrisqtran Posts: 121 Silver 3Hello there,
Thank you for reaching out.
This appears to be a bug that was fixed in a later version.
Can you try installing a later version and see if the issue persists?
https://download.red-gate.com/checkforupdates/SQLPrompt/