Check
Difference between FUNCTION and PROCEDURE statements for details
>OK, Sergey, thank you. I saw that removing the @ removed the error, but I thought I had to have them, so I thought it must be something else in the way the call was made that I was overlooking.
>
--sb--