G-3110: Always specify the target columns when coding an insert statement.
Major
Maintainability, Reliability
Reason
Data structures often change. Having the target columns in your insert statements will lead to change-resistant code.
Example (bad)
1 2 3 4 5 6 |
|
Example (good)
1 2 3 4 5 6 7 8 9 10 |
|