Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 table column

Author  Topic 

BendJoe
Posting Yak Master

128 Posts

Posted - 2008-09-29 : 16:19:06
I need to set the a datetime column default as current date how can I do this.

Thanks

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-09-29 : 16:30:43
Put default as getdate()
Go to Top of Page

BendJoe
Posting Yak Master

128 Posts

Posted - 2008-09-29 : 16:46:27
quote:
Originally posted by sodeep

Put default as getdate()


Thanks
Go to Top of Page
   

- Advertisement -