set a default value for it:
CREATE TABLE dbo.YourTable
(
columns....,
YourDateTime datetime NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE dbo.YourTable ADD CONSTRAINT
DF_YourTable_YourDateTime DEFAULT GETDATE() FOR YourDateTime
when you INSERT don't list that column:
INSERT INTO dbo.YourTable (columns...) VALUES (values...)
or when you INSERT list that column, but use DEFAULT keyword:
INSERT INTO dbo.YourTable (columns...,YourDateTime) VALUES (values...,DEFAULT)
or when you INSERT list that column, and use GETDATE() or some other datetime:
INSERT INTO dbo.YourTable (columns...,YourDateTime) VALUES (values...,'1/1/2010 12:34:56')