About 160,000 results
Open links in new tab
  1. Oracle DECODE Function - Oracle Tutorial

    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 …

  3. Oracle DECODE Function Explained with Examples - Database Star

    Jun 1, 2023 · The Oracle DECODE function is powerful, but can be confusing. Learn about Oracle DECODE and see some examples in this article.

  4. DECODE - Oracle Help Center

    DECODE compares expr to each search value one by one. If expr is equal to a search , then Oracle Database returns the corresponding result . If no match is found, then Oracle returns …

  5. Understanding the SQL DECODE () Function - DataCamp

    Aug 6, 2024 · Learn how to use DECODE() in Oracle for conditional logic in data transformation. Compare DECODE() to the CASE WHEN statement in performance and behavior.

  6. DECODE function in Oracle - W3schools

    DECODE is an advanced function that the Oracle database supports. It is used to work as an IF-THEN-ELSE statement. The DECODE function is supported in the various versions of the …

  7. decode two values using oracle decode - Stack Overflow

    Sep 5, 2013 · If you mean AND rather than OR then this can be done using a decode: decode(status_a,'Y', decode(status_b,'Y','Y','N'), 'N') or this could be simplified to: …

  8. How to use Oracle's decode function in where clause

    Jun 8, 2015 · You can use a case: SELECT (columns list) FROM AGREEMENT A WHERE A.ACCOUNT = 545 AND A.GRP_ID = CASE ? WHEN 0 THEN A.GRP_ID ELSE ? END And …

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

    The Oracle decode function The decode function can be used in SQL for and IF-THEN-ELSE construction. It's an alternative for the CASE statement which was introduced in Oracle 8. …

  10. 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.

  11. Some results have been removed
Refresh