postgresql 如何获取数据库中所有表名

SELECT table_name FROM information_schema.tables WHERE table_type = 'BASE TABLE' AND table_catalog='your_database_name';

Logo

一站式 AI 云服务平台

更多推荐