Also as I said - take a look at the *actual* compiled code for the query which is where you are getting the error.
You could take a look at the release notes for the latest 4.1 kit(s), some SQL related issues are solved by the maintenance kits of that branch if memory serves me right.
HTH,
Ram�n
-- ZCacheLib - Open Source Extensions for Cach� http://www.zcachelib.org
