QL0091 Reserved Word Column Name
The statement references a column name that collides with a reserved word for the active dialect profile.
When It Appears
- Reserved-word column checks run in dialect mode
- Severity depends on dialect behavior and whether quoting is required
Example
QueryLens.Dialect = DialectProfile.MySql8;
var query = new SqlQuery("SELECT order FROM sales");
Next Steps
- Rename the column when possible
- If the schema is fixed, use dialect-appropriate quoting