About 580,000 results
Open links in new tab
  1. SQL DECODE Function - SQL Tutorial

    The SQL DECODE() function allows you to add procedure if-then-else logic to queries. For example: In this example, the DECODE() function compares the first argument (one) with the …

  2. Oracle DECODE Function - Oracle Tutorial

    Summary: in this tutorial, you will learn how to use the Oracle DECODE() function to embed if-then-else logic in SQL queries. The Oracle DECODE() function allows you to add the …

  3. Understanding the SQL DECODE() Function - DataCamp

    Aug 6, 2024 · The DECODE() function is useful in data transformation since it simplifies complex logic by eliminating the use of IF ELSE or CASE statements. The DECODE() function also …

  4. 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 …

  5. 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 …

  6. DECODE ( ) function in SQL Server - Stack Overflow

    Dec 8, 2016 · Above is a Oracle query; how can I use DECODE () function in SQL Server 2005? You may want to reformat the SQL a bit and elaborate on what the specific problem is. You …

  7. SQL DECODE - Syntax, Use Cases, and Examples - Hightouch

    DECODE allows you to compare a value to a set of possible values and return a corresponding result when a match is found. It is often used for data transformation, simplifying complex …

  8. SQL DECODE() | How DECODE() Function works in SQL? Examples …

    Mar 13, 2023 · DECODE function in Standard Query Language (SQL) is used to add procedural IF – THEN – ELSE like statements to a query. It compares a given expression with each …

  9. DECODE in SQL – Syntax of Oracle Decode Function - Edureka

    Feb 21, 2025 · DECODE function in SQL allows us to add procedural if-then-else logic to the query. Learning the various ways to use DECODE, its syntax with examples.

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

  11. Some results have been removed
Refresh