FengShui1998
MIS
Hello,
I have a column called CREATED that currently has DateTime as its field value.
I just learned that I can have it default to the a date time by using the function getdate().
Here's what I have, but it keeps getting an error near DEFAULT when I try to validate the syntax.
Thanks for the help in advance.
fengshui
ALTER TABLE Applicants
ALTER Column Created datetime NOT NULL DEFAULT (getdate())
I have a column called CREATED that currently has DateTime as its field value.
I just learned that I can have it default to the a date time by using the function getdate().
Here's what I have, but it keeps getting an error near DEFAULT when I try to validate the syntax.
Thanks for the help in advance.
fengshui
ALTER TABLE Applicants
ALTER Column Created datetime NOT NULL DEFAULT (getdate())