Hi, Is there a simple way to get the automatic generated SQL from a ResultSet? As for example $query = $rs->sql()? Thanks -- ------------------------- Emmanuel Quevillon Biological Software and Databases Group Institut Pasteur +33 1 44 38 95 98 tuco at_ pasteur dot fr -------------------------