About 2,220 results
Open links in new tab
  1. Oracle DECODE

    This tutorial shows you how to use the Oracle DECODE () function to add the procedural if-then-else logic to SQL queries.

  2. Oracle / PLSQL: DECODE Function - TechOnTheNet

    This Oracle tutorial explains how to use the Oracle / PLSQL DECODE function with syntax and examples. The Oracle / PLSQL DECODE function has the functionality of an IF-THEN-ELSE statement.

  3. DECODE - Oracle Help Center

    In a DECODE function, Oracle considers two nulls to be equivalent. If expr is null, then Oracle returns the result of the first search that is also null. The maximum number of components in the DECODE …

  4. Understanding the SQL DECODE() Function - DataCamp

    Aug 6, 2024 · This tutorial provides a comprehensive guide to using the SQL DECODE() function in Oracle. I will also compare DECODE() to CASE WHEN in Oracle and help you understand when to …

  5. Oracle DECODE Function Explained with Examples - Database Star

    Feb 19, 2015 · The purpose of the Oracle DECODE function is to perform an IF-THEN-ELSE function. It's similar to a CASE statement, but CASE is a statement where DECODE is a function.

  6. DECODE in SQL - Syntax of Oracle Decode Function - Edureka

    Feb 21, 2025 · In this blog, we will try to get a complete understanding of DECODE function in SQL. We will be learning the various ways to use DECODE, its syntax and understand it with examples.

  7. How to use the decode function in Oracle - Oradev.com

    Oracle automatically converts the values for expression and compare_value to the datatype of the first compare_value. Also the datatype of the return_value is converted to the datatype of the first …

  8. Oracle DECODE function • Vinish.Dev

    Nov 8, 2025 · Learn the Oracle DECODE function. This simple SQL guide explains how to use DECODE for IF...THEN...ELSE logic in your queries.

  9. A basic guide to decoding in Oracle SQL - Tricentis

    Mar 11, 2025 · Learn how to use the Oracle DECODE function in Oracle SQL to simplify queries and handle conditional logic with ease in this comprehensive guide.

  10. Oracle DECODE Function: Syntax, Use Cases, and CASE Comparison

    Jan 26, 2026 · Learn Oracle’s DECODE function with syntax, NULL handling, performance tips, and real ERP reporting use cases. Compare DECODE vs CASE, see top 10 patterns, and explore practical …