TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Basit Khan
NA
336
121.8k
SQL just check the date with todays Date
Jun 17 2015 4:17 AM
Dear,
I have three columns LeaveFrom , LeaveUpto and EmployeeNumber. How i will check with the today date weather the today employees on leave or not.
How to do this in SQL please help me.
Select * from Trn_EmployeeLeave Where LeaveFrom between Today.Date and Today.Date and LeaveUpto between Today.Date and Today.Date and EmployeeNumber=1 But His leave start from 01-Jun-2015 to 31-Aug-2015 how to check this
Thanks
Basit
Reply
Answers (
8
)
Microsoft SQL Server, Error:53
how to write a query select top 2 record salary in employee