Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database Date and Time
Message
From
18/01/1999 08:55:00
 
 
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
00177085
Message ID:
00177146
Views:
45
Once again thank you for your prompy advise.

What happen if I would like to search for date range query?
Eg. given 2 dates for any records that are between these
2 dates. Could you show me some examples on how to achieve
the results. Excuse me for being a newbie in SQL. Thanks.

>>In SQL 6.5, the DATE data type comes with Date and Time.
>>Hence the storing of date field without a given time, the
>>SQL will set a default time.
>>
>>I just wonder, how could we make a SQL query with only
>>date input by user? Must I hard code the Time to search
>>for any date range queries? Pls advice.
>
>Try the 'LIKE' clause
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform