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
Maahi
NA
73
8k
Sql Script for blank values
Sep 9 2017 3:48 AM
I have uploaded a bulk data having 20 columns.
in SQL am trying to bind 3 column join against the employee master.
For Example
select * from #temptable
select tmp.*
from #temptable tmp , employeemaster em
where em.employeeno= tmp.Employeeno1 and
em.employeeno= tmp.Employeeno2 and
em.employeeno= tmp.Employeeno3
the above query will return records if all the condtion are matched in the where clause.
But lets say am passing the value only for tmp.Employeeno1 =123 and tmp.Employeeno2=456
and tmp.Employeeno3 as empty record.
Its a valid records how can i allow it in my script using blank or null values.
Reply
Answers (
2
)
Installing SQL Server 2012 Express using bootstrapperpackage
How to get which Saturday, Sunday today is in current month