Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Set datetime field default value
Message
De
19/12/2001 16:13:01
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00596410
Message ID:
00596432
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform