Yahoo Poland Wyszukiwanie w Internecie

Search results

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

    Introduction to SQL DECODE() function. 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

  2. The DECODE () function evaluates each search value (s1, s2, .., or sn) only before comparing it to the first argument (e), rather than evaluating all search values. In other words, the DECODE () function never evaluates a search (si+1) when a previous search (si) equals e.

  3. 9 lut 2023 · Funkcja DECODE służy do porównywania wartości wyrażeń i wykonywania określonych operacji w zależności od wyniku porównania. Może być używana do wykonywania różnych operacji na danych, takich jak zmiana wartości, wyświetlanie wartości, wyświetlanie komunikatów lub wykonywanie innych operacji.

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

  5. 8 gru 2016 · Create a function in SQL Server as below and replace the DECODE with dbo.DECODE CREATE FUNCTION DECODE(@CondField as nvarchar(100),@Criteria as nvarchar(100), @True Value as nvarchar(100), @FalseValue as nvarchar(100)) returns nvarchar(100) begin return case when @CondField = @Criteria then @TrueValue else @FalseValue end end

  6. 25 mar 2020 · Aby zachować czytelność pisanych kodów proponuję oglądać film w rozdzielczości min. 720 dpi. W filmie przedstawiono funkcje logiczne (CASE, DECODE). Oprogramowanie i baza zaprezentowana w ...

  7. 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 Oracle/PLSQL, including, Oracle 12c, Oracle 11g, Oracle 10g and Oracle 9i.

  1. Ludzie szukają również