In this blog post, you’ll learn more about the Sybase Error Scalar variable ‘%1’ not found and the reason for receiving this error
Sybase SQL Error Message
Scalar variable ‘%1’ not found
Reason for this Error
You attempted to use a variable that was not found, or did not have a scalar value. A non-scalar variable can be a row, an array or a table reference.