Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. The Oracle DECODE() function allows you to add the procedural if-then-else logic to the query. In the following example, the Oracle DECODE() function compares the first argument (1) with the second argument (1).

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

  3. DECODE compares expr to each search value and returns the corresponding result if a match is found. Learn the syntax, description, examples, and data type conversion of DECODE function.

  4. 1 cze 2023 · Learn how to use the Oracle DECODE function to perform an IF-THEN-ELSE comparison. See the syntax, parameters, differences with CASE, and examples of using DECODE in various scenarios.

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

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

    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.

  7. 26 gru 2011 · decode( decode( decode( dummy, 'X', 'A', 'B' ), 'A', 'M', 'N' ), 'M', 'nested!', 'N' ) decode is like case decode( dummy, 'x', 'a', 'b' ) is like: case when dummy = 'x' then 'a' else 'b' end; so, we first evaluate that and we either get 'a' or 'b', the the decode becomes: decode( 'either A or B', 'A', 'M', 'N' )

  1. Ludzie szukają również