> The most obvious theory is that there are some nulls in the XT.XMLT1C1 > column. Since your code isn't bothering to check pXmlDataNulls[ix], > it would hit a null-pointer dereference when accessing pXmlData[ix]. > > regards, tom lane Thx, Tom... my bad... Regards, Garfield