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
venkatesh duddukuri
NA
7
1.2k
how to set the validation error
Feb 15 2017 2:51 AM
Dear All
I am develop the help Sp but i dont know how to set validation error . kindly give the suggetion.
Note : if select multiple options show error
Ex : select multiple months in help show error message
if (@paramname= 'Month')
begin
select 'ALL' 'GRDPARAMVALUE'
union all
SELECT distinct DATENAME(month, schedule_date) 'GRDPARAMVALUE'
from tmscd_emp_gre_calendar_vw m
where master_ou=@ouinstance
end
Reply
Answers (
6
)
How to delete data next to Underscore in my sql
replacing null records with default records