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 - Select Query With Invalid Where condition
Karthikeyan Anbarasan
Apr 28, 2011
2.5
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
SQL Server Transact Basic to Expert - Select Query With Invalid Where condition
This blog shows on how to use a Where clause with select clause for negative select condition scenarios using NOT operator
Syntax:
Select column_list
from table
where not column1=""
Example:
Select empname
from emptable
where not empsal = '3000'
SQL Server Transact Basic to Expert - Select Query With Invalid Where condition
Next Recommended Reading
SQL Server Transact Basic to Expert - Select Query With NULL value in Column