Refactor run_without_connection into DdlHelper.