Wrong number of parameters to function '%1'

Item Value
SQLCODE -154
Constant SQLE_WRONG_PARAMETER_COUNT
SQLSTATE 37505
Sybase error code 174
ODBC 2 State 37000
ODBC 3 State 42000
Parameter 1 Name of the function.

Probable cause 

You supplied an incorrect number of parameters to a database function.