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

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

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

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

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

  4. 16 Ιαν 2011 · I am trying to find an equivalent of DECODE function in MySQL. It works like this: Select Name, DECODE(Age, 13,'Thirteen',14,'Fourteen',15,'Fifteen',16,'Sixteen', 17,'Seventeen',18,'Eighteen',19,'Nineteen', 'Adult') AS AgeBracket. FROM Person.

  5. Whether the value is retrieved from a column, passed in via a bind variable, or returned by a function call, always wrap divisors with DECODE or CASE, as illustrated by the following example:

  6. 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).

  7. 13 Νοε 2019 · The DECODE () function accepts two parameters which are the encoded string to be decoded and the password string to decode the encoded string. Syntax: DECODE(encoded_string, password_string); Parameters Used: encoded_string – It is used to specify the encoded string that is to be decoded.

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