API-891 Checking in SQL script.