📜  检查表是否存在 postgresql - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:41.894000             🧑  作者: Mango

代码示例3
SELECT EXISTS (
   SELECT FROM pg_tables
   WHERE  schemaname = 'schema_name'
   AND    tablename  = 'table_name'
   );