When I want to insert a student, I want to insert the current date automatically with the constrain in Date-Registration.
ALTER table TB_ALUMNO
ADD CONSTRAIT FECH_MATRI_ALU DEFAULT GETDATE()
FOR FECH_MATRI_ALU
GO
I get 1900-01-01 instead of the current date in the column