Can anyone tell me what is the difference between case and decode. and which one is more
beneficial
rohanvispute
0
Newbie Poster
Recommended Answers
Jump to PostCASE executes faster.
DECODE works with expressions which are scalar values.
CASE can work with predicates and subqueries in searchable form:
CASE handles NULL values differently
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.