Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Set datetime field default value
Message
From
19/12/2001 16:13:01
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00596410
Message ID:
00596432
Views:
16
This message has been marked as the solution to the initial question of the thread.
>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
Map
View

Click here to load this message in the networking platform