📜  postgres 读取表结构 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:57.058000             🧑  作者: Mango

代码示例1
SELECT column_name, data_type, character_maximum_length
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name ='table_name';