NOT FOUND: SELECT * FROM q_Livello_AMM WHERE UrlLivello2 Like '%TEMPL_prestdet.asp%' AND IDlivello1 = 65 AND IDLivello2 IS NULL EXIT 3