QL0011 Column Not Found
A referenced column could not be matched in the loaded schema snapshot.
When It Appears
- Level 3 validation is active and a column name is missing in
SELECT,WHERE,JOIN,ORDER BY,INSERT, orUPDATE - Typos and stale schema snapshots are the most common causes
Example
var query = new SqlQuery("SELECT customer_nam FROM dbo.customers");
Assert.Contains(query.Errors, issue => issue.Code == "QL0011");
Next Steps
- Confirm the column belongs to the referenced table
- Refresh the snapshot if the schema changed
- Review issue suggestions and candidates