Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. 1 Ιουν 2023 · 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. It allows you to provide a value, and then evaluate other values against it and show different results.

  2. 16 Ιαν 2011 · You can use IF() where in Oracle you would have used DECODE(). mysql> select if(emp_id=1,'X','Y') as test, emp_id from emps;

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

  4. www.sqltutorial.org › sql-comparison-functions › sql-decodeSQL DECODE - SQL Tutorial

    The SQL DECODE() function allows you to add procedure if-then-else logic to queries. Let’s see the following example: SELECT DECODE (1, 1, 'Equal'); Code language: SQL (Structured Query Language) (sql) In this example, the DECODE() function compares the first argument (one) with the second argument (also one).

  5. 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 use each function. Finally, I will provide code for the equivalent transformations in SQL Server, PostgreSQL, and MySQL.

  6. 17 Σεπ 2023 · The DECODE_ORACLE() function compares expressions and returns the assigned value if they match. If no match is found, NULL is returned, or "Default" if specified. NULL values in expressions are also taken into account and can be compared with each other. This feature is available from MariaDB version 10.3.2.

  7. Decrypts a string encoded with ENCODE (), or, in Oracle mode, matches expressions.

  1. Γίνεται επίσης αναζήτηση για