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
Sai Reddy
NA
214
31k
1=1 and 2=2 in SQL Server
May 13 2018 5:44 AM
Hi, I have seen follwing query some where in google.
SELECT CASE WHEN 1=1 THEN 'A'
WHEN 2=2 THEN 'B'
ELSE 'C' END
Output: A
What is happening in the query?
Reply
Answers (
2
)
Searching a text in four columns
Sql query for calculation