Erik Svendsen a écrit : This looks like a wrong special character at the beginning of the SQL query. > for the right syntax to use near '' at line 1 Check the user defined function ux_tslib_cobj->cimage and your IMAGE object. - Franz