Hello lucianc, thanks for the reply. The SQL works when being executed in a simple SQL Tool. The original program (php) does read/write without issues. Unfortunatly I cannot provide you with the table (to try to reproduce it in your lab), as the data is company confidential. I will try to build a sample table when I'm back from my business trip next week. Gruss, Kai