Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Other SQL Server Topics / June 2007

Tip: Looking for answers? Try searching our database.

problem about comparing date

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
navneetkasulkar@gmail.com - 26 Jun 2007 11:34 GMT
I have a problem in this query:

select order from ordertable
where orderdate >= '06/20/2007' and orderdate < '06/20/2007'

this query do not return any record
although there are  records in the table matching the query

please help me
Roy Harvey - 26 Jun 2007 12:53 GMT
What possible value can be BOTH >= AND < the SAME date?  You need to
add a day to the second date, make it 6/21.

Roy Harvey
Beacon Falls, CT

>I have a problem in this query:
>
[quoted text clipped - 5 lines]
>
>please help me
navneetkasulkar@gmail.com - 29 Jun 2007 10:00 GMT
Thanx but it was typing mistake
have a nice day

> What possible value can be BOTH >= AND < the SAME date?  You need to
> add a day to the second date, make it 6/21.
[quoted text clipped - 14 lines]
>
> >please help me
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.