Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Date + Time
Message
De
14/09/2010 21:00:19
 
 
À
14/09/2010 20:32:17
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01481160
Message ID:
01481199
Vues:
24
>Michel, what database- if I recall correctly, date (as opposed to datetime) field in SQL Server is comparatively recent.
>
>Can you tell us why a calculated field won't be the answer?

When there is a need to apply query on a date and a time value, it is wise to put the value in one and only field, such as a DateTime data type. I have used that for years and never encounter such a situation. On the client side, the database is read only for us. So, we cannot alter the database structure or add new fields in it, for such purpose. The query are pretty small however. So, using the CAST() approach would do.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform