Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. The following illustrates the syntax of the Oracle DECODE() function: DECODE (e , s1, r1[, s2, r2], ...,[,sn,rn] [, d]); Code language: SQL (Structured Query Language) (sql) Arguments e. The first argument e is the value to be searched. The function automatically converts e to the data type of s1 before comparing. s1, s2, .. sn

  2. Syntax. Description of the illustration decode.eps. Purpose. 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 default. If default is omitted, then Oracle returns null.

  3. Syntax. The syntax for the DECODE function in Oracle/PLSQL is: DECODE( expression , search , result [, search , result]... [, default] ) Parameters or Arguments expression The value to compare. It is automatically converted to the data type of the first search value before comparing. search The value that is compared against expression.

  4. docs.oracle.com › cd › B19306_01DECODE - Oracle

    Syntax. Description of the illustration decode.gif. Purpose. 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 default. If default is omitted, then Oracle returns null.

  5. 1 cze 2023 · Syntax. The syntax of the DECODE function is: DECODE ( expression, search, result [, search, result]... [,default] ) While you’re here, if you want an easy-to-use list of the main features in Oracle SQL, get my SQL Cheat Sheet here: DECODE Function Parameters. The parameters of the Oracle DECODE function are:

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

  7. 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. Syntax: decode ( expression , compare_value, return_value, [,compare, return_value] ... [,default_return_value] ) with: expression is the value to evaluate compare ...

  1. Ludzie szukają również