Sql Interview Question #10
What is a DEFAULT definition?
A DEFAULT definition is used to add values into a column when values were omitted. The default value must be compatible with the data type of the column to which the DEFAULT definition applies.
DEFAULT values can be in integer and datetime fields but cannot be defined on timestamp and IDENTITY columns.
Thanks for reading this article,
Next steps :
- Share this with your colleagues because Sharing is Learning
- Comment below if you need any assistance