Need to make sure full SQL statement is being passed