Refactoring SQL executor

Check for CALL transferred to the sql parser