QL0080 Missing Required INSERT Column
A schema-backed INSERT omitted a required column that is non-nullable and has no default, identity, or computed behavior.
When It Appears
- Level 3 validation is active and QueryLens can infer required columns from the schema snapshot
- This helps catch inserts that would fail at runtime because required data is missing
Example
var insert = new SqlInsert("INSERT INTO dbo.orders (customer_id) VALUES (@CustomerId)");
Next Steps
- Add the required column to the insert list
- Reload the schema if the metadata changed recently