The tricky part: If the content is longer then 2000 characters, you have to do this in chucks. So, above select only works for a OX_CONTENTLEN ≤ 2000. If it is bigger, something like this must be done: