Feb 13, 2001 #1 tseh Programmer Jan 13, 2000 64 CA How can I alter a table with a column called Date_Entered with the default of the date entered?
Feb 13, 2001 1 #2 jballum MIS Jul 10, 2000 161 CA ALTER TABLE TableName WITH NOCHECK ADD CONSTRAINT [DF_Date_Entered] DEFAULT getdate() FOR [Date_Entered] GO JB Upvote 0 Downvote
ALTER TABLE TableName WITH NOCHECK ADD CONSTRAINT [DF_Date_Entered] DEFAULT getdate() FOR [Date_Entered] GO JB
Feb 13, 2001 #3 syntax18 MIS Feb 13, 2001 16 US You can go to the design table on the enterprise manager and have a default value set to getdate() for the field Upvote 0 Downvote
You can go to the design table on the enterprise manager and have a default value set to getdate() for the field