removed dublicate and old version of read_tbl_rows_sg_cont_ad_with_cond