constant-generated-column (GN016)#
Automatic fix is not available.
What it does#
Checks for usage of constant generated columns.
Why not?#
Always generating a constant value for a column is not useful and only leads to duplicated data all over the place and wastage of storage.
When should you?#
If the table will be storing just one row at any point in time.
Use instead:#
Generated column with expression.