Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Error in Sql server

Author  Topic 

navinkuma
Starting Member

1 Post

Posted - 2013-04-01 : 05:39:15
SELECT Pres.Id AS ID,
Pres.Time,Pres.ServerDateTime,
Pres.MeetingEngagement,
Pres.venue,
Holi.Date,Holi.RegistrationDate,
Holi.DateHoliday FROM presedentialEngagements Pres Inner Join
HolidayDetails Holi ON Pres.ServerDateTime = Holi.Date WHERE Pres.ServerDateTime between '04/01/2013'and '04/10/2013'
That query in comparrion of datewith time but i want to comaparassion only date,,

Navin

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-04-01 : 06:09:07
what will time values passed


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -