About 141,000 results
Open links in new tab
  1. MySQL equivalent of DECODE function in Oracle - Stack Overflow

    Jan 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', …

  2. MySQL | DECODE( ) Function - GeeksforGeeks

    Nov 13, 2019 · The MySQL DECODE() function returns empty strings if the encoded string is an empty string. The DECODE() function accepts two parameters which are the encoded string to …

  3. MySQL DECODE() function - w3resource

    Aug 8, 2023 · DECODE() function . MySQL DECODE() function decodes an encoded string and returns the original string. Syntax: DECODE(crypt_str, pass_str); Arguments:

  4. MySQL DECODE Expressions: Usage & Examples - DataCamp

    Learn how to use the `mysql DECODE` function for decrypting encoded data with examples and best practices. Verify its availability in your MySQL setup for effective usage.

  5. MySQL DECODE() | Guide to How DECODE() function work in MySQL

    May 15, 2023 · How does DECODE () function work in MySQL? The DECODE () function syntax utilizes two parameters to decode an encoded value and generate the output. The first …

  6. The Equivalent of Oracle's decode Function in MySQL

    Apr 28, 2022 · This tutorial presents the three alternative implementations that we can use as the equivalent of Oracle’s decode() function in MySQL. For that, we will use IF(), CASE, and the …

  7. decode - Decoding fields in Mysql - Stack Overflow

    Sep 8, 2013 · The MySQL DECODE() function is used for decryption, its signature is: DECODE(crypt_str,pass_str) See the documentation. If you want something equivalent to …

  8. SQL DECODE Function - SQL Tutorial

    If you want to specify the value when the first argument is not equal to the second one, you use the following form of the DECODE() function: SELECT DECODE ( 1 , 2 , 'Equal' , 'Not Equal' ); …

  9. base64 decode a mysql column before performing a WHERE

    Mar 15, 2016 · If you're using MySQL 5.6.1 or higher you can use the FROM_BASE64() function: Takes a string encoded with the base-64 encoded rules used by TO_BASE64() and returns …

  10. Mysqls Alternative To Oracles Decode Function - sqlpey

    Nov 22, 2024 · MySQL does not provide a DECODE() function like Oracle, but you can achieve the same functionality with different options. You can use the IF() function, the CASE …

  11. Some results have been removed
Refresh