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.2k
Filter Query in SQL
Nov 1 2016 11:07 AM
Hi,
I have a table Employee
Emp_No int
Emp_Name nvarchar(50)
Emp_DeptNo nvarchar(150)
Emp_No
Emp_Name
Emp_DeptNo
1
A
1, 2 , 3, 5
2
B
2
3
C
4, 5
Here i want to filter by Emp_DeptNo Where Emp_DeptNo in (3, 5) then result will be
Emp_No
Emp_Name
Emp_DeptNo
1
A
1, 2 , 3, 5
3
C
4, 5
How to filter this
Thanks
Basit.
Reply
Answers (
3
)
insert only column name into another table
Get data from multiple databases into single store procedure