End-User Documentation

QL0010 Table Not Found

QL0010 Table Not Found

A referenced table or view could not be matched in the loaded schema snapshot.

When It Appears

  • Level 3 validation is active and the statement references a table name that does not exist in the snapshot
  • Misspellings and schema-qualification mismatches are common causes

Example

var query = new SqlQuery("SELECT * FROM dbo.custmoers");
Assert.Contains(query.Errors, issue => issue.Code == "QL0010");

Next Steps

  • Confirm QueryLens.HasLoadedSchema is true
  • Correct the table name or review fuzzy suggestions
  • Refresh the schema if the database changed