--- a/admin/fixoldamend.php +++ b/admin/fixoldamend.php @@ -1,1 +1,3 @@ +<?php +$query = 'select "CNID" from contractnotice where "CNID" like \'%00_\' and "parentCN" is not null and length("CNID") > 6';