Concept Flow - DEFAULT values
Start Insert
Check each column
Is value provided?
Yes→Use provided value
No
Is DEFAULT defined?
Yes→Use DEFAULT value
No
Use NULL or error if NOT NULL
Insert row with final values
End
When inserting data, SQL checks each column. If no value is given, it uses the DEFAULT if set, else NULL or error.