You have used a SQL function with the wrong number of parameters. This will likely cause an error when the statement is sent to the database server.