Added command to check SQL