Hi, What would be the definition of a poorly written SQL?-sql, with wrong join order-sql, which uses dual - sql, having no bind variables etc etc.regards,Fahd Oracle LazyDBA home page