SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Error in Sql server
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

navinkuma
Starting Member

India
1 Posts

Posted - 04/01/2013 :  05:39:15  Show Profile  Reply with Quote
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

India
52249 Posts

Posted - 04/01/2013 :  06:09:07  Show Profile  Reply with Quote
what will time values passed


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000