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
Santosh Sasupalli
NA
181
24.8k
stored procedure for filters
Aug 31 2016 6:59 AM
i have a task
@state varchar(50),
@location varchar(50)
as
begin
end
if he pass state="",location="" then select all institutes in country
if he pass state value then select institutes in that state
if he pass location also value then select institutes in that particular location
how to write query
please help me
Reply
Answers (
4
)
Checking Query in SQL
Optimize redundant sproc calls