End-User Documentation

QL0073 Too Many Function Arguments

QL0073 Too Many Function Arguments

The function call supplies more arguments than the active signature allows.

When It Appears

  • Dialect mode is active and the function name is recognized
  • This is most common when moving between fixed-arity and variadic function assumptions

Example

QueryLens.Dialect = DialectProfile.SqlServer2019;
var query = new SqlQuery("SELECT ABS(1, 2)");
Assert.Contains(query.Errors, issue => issue.Code == "QL0073");

Next Steps

  • Remove the extra arguments
  • Double-check whether the function is fixed-arity in the selected dialect