new support for show sql