Advantage Error Guide
Problem: An SQL script statement is referencing a variable that has not been declared.
Solution: Check the error message for the location of the error in the script. Make sure the variable is spelled correctly or declare the variable at the beginning of the SQL script.