結果 : sql script check if record exists