I am getting an error while applying the SQL Prompt styles
![somnath12342](https://us.v-cdn.net/6029854/uploads/defaultavatar/nZUSABQN8JEE0.jpg)
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: 135 Silver 3
Hello 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/