Thanks Scott, picked that up and have run the sql... fingers crossed that stops half of my debug logs :-)