I have used this SQL stored procedure in the past and it worked, but now I get the "Undefined" returned instead of the @_num specified variable.

Anybody with suggestion on what I maybe doing wrong?

Thanks
Sango