Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Date + Time
Message
From
14/09/2010 21:00:19
 
 
To
14/09/2010 20:32:17
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01481160
Message ID:
01481199
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform