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
Nirmal Roy
NA
365
29.2k
How Should i get between one date to another date in sql ?
Jul 13 2017 4:24 AM
I have a table In sql server. see example Event Id = 4 ,
Event_Startdate is 2014-06-01 and Event_EndDate is 2014-07-10.
But My Qusetion is that if I am giving Event_Startdate 2014-06-02 and Event_EndDate 2014-07-08 then not insert record else insert record .
and messges should display error message.
This user given date check all record in same table. not only one date, one id.
if user given Event_Startdate 2014-06-02 and Event_EndDate 2014-07-08 then check all recoreds not only one record.
How should i do this? Please help.
Reply
Answers (
1
)
mutual friends query
How to concatenate columns without null value in sql