Created
July 10, 2013 16:37
Revisions
-
jpetitcolas revised this gist
Jul 17, 2013 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,5 @@ -- Decoding SELECT CONVERT_FROM(DECODE(field, 'BASE64'), 'UTF-8') FROM table; -- Encoding SELECT ENCODE(CONVERT_TO(field, 'UTF-8'), 'base64') FROM table; -
jpetitcolas created this gist
Jul 10, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ SELECT CONVERT_FROM(DECODE(field, 'BASE64'), 'UTF-8') FROM table;