1
Good evening, I created a table to test the sql server default:
I did a select to see if the default values were entered but you can see in the image that this did not occur. When does it enter these default values? I thought these values were entered when null or empty values were passed. Another problem is that the date entered was 1900 and this only happens in this case, because if I pass getDate() in Insert the date to save will be the current.
I saw that the default value is inserted if you do not pass the fields containing the default, in this case the name and date.
– HeyJoe