I am working on a database and I need to make the default value for a date column to be 5 days from the current date.
Would using getdate() + 5 work?
getdate() + 5
Yout can tryout DateAdd function for adding days to date
DateAdd
Example
DATEADD(day,1,@datetimevar/column)
try like this
create table t( i int, d datetime default (dateadd(day,5,getdate())) )