> Nevertheless, it's MySQL that reports the error. Yes. But what did sqlDB do to the query so mysql didn't accept it? > Please set 'ParseSQL' to false and see if that helps ? Yes, it helps. Thank you. What does ParseSQL do anyway? What are the benefit of it? -Bee- has Bee.ography at: http://beeography.wordpress.com