General information
Forum:
Microsoft SQL Server
>When designing a table with a datetime field, how do I store the current datetime as a default Value.
>
>When I add a record, I want it to automaticly put the datetime in that field.
>
>Thanks
You can use the GetDate() function as the default. HTH
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only