End-User Documentation

QL0071 Version-Gated Function

QL0071 Version-Gated Function

The function exists in the selected dialect family, but not in the specific version profile you chose.

When It Appears

  • Version-aware validation knows the function catalog for the active profile
  • This often appears when SQL is written for a newer engine than the test suite has configured

Example

QueryLens.Dialect = DialectProfile.SqlServer2014;
var query = new SqlQuery("SELECT STRING_AGG(name, ',') FROM dbo.departments");
Assert.Contains(query.Errors, issue => issue.Code == "QL0071");

Next Steps

  • Select the correct version profile if the deployment target is newer
  • Otherwise replace the function with a version-compatible alternative