Posted on Thu, April 14th in Databases - Michiel -
No Comments »
If you’re creating a comma-seperated list of values which get grouped, and you’re using the built-in XML functionality to do it, you’re in for an unpleasant surprise. This happened to me, although I do believe I should have foreseen this. The problem is that when you dynamically create XML, special characters in Textnodes get escaped – [...]
Posted on Fri, December 3rd in Databases - Michiel -
11 Comments »
Recently I was struggling to find a function to get MD5 to work in Oracle, like the MD5() function in MySQL. After some searching I found out that there is no direct way to calculate an MD5 checksum in Oracle. Therefore I created the function below. CREATE OR REPLACE FUNCTION USERINFO.md5hash (str IN VARCHAR2) RETURN [...]