Sql Interview Question #10: What is a DEFAULT definition?


Sql Interview Question #10

What is a DEFAULT definition?

Solution

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 :

  1. Share this with your colleagues because Sharing is Learning
  2. Comment below if you need any assistance

 


One thought on “Sql Interview Question #10: What is a DEFAULT definition?

  • Keisha

    You share interesting things here. I think that your blog can go viral easily, but you must give it initial
    boost and i know how to do it, just search in google – mundillo traffic increase

Comments are closed.