SyntaxFix
Write A Post
Hire A Developer
Questions
Try something like:-
ALTER TABLE table_name ADD CONSTRAINT [DF_table_name_Created] DEFAULT (getdate()) FOR [created_at];
replacing table_name with the name of your table.
table_name