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
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
SQL Server Transact Basic to Expert - Replace NULL with default value
Karthikeyan Anbarasan
Jun 15, 2011
4.9
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Replace NULL with default value
This blog shows how to replace a NULL value with a default value using ISNULL in SQL Server
Example:
Select Empname, ISNULL(Empsal, 0) from emptable
This will not return any null value of Empsal
SQL Server Transact Basic to Expert - Replace NULL with default value
Next Recommended Reading
SQL Server Transact Basic to Expert - Decreasing a date value to 4 months using SQL query