sql finished integration