Check the bug has not already been reported
Edit function_name and the short error description in title above
What happened and what did you expect?
No matter what table I pass into this procedure, it shows me this error.

As you see this bigfunction_result variable is used without its declaration.

Check the bug has not already been reported
Edit
function_nameand the short error description in title aboveWhat happened and what did you expect?
No matter what table I pass into this procedure, it shows me this error.

As you see this

bigfunction_resultvariable is used without its declaration.