「postgresql入門」カラム名一覧を取得するコード
SQL構文
SELECT
*
FROM
information_schema.columns
WHERE
table_name = 'table_name’
ORDER BY
ordinal_position;
Coding Changes the World
SQL構文
SELECT
*
FROM
information_schema.columns
WHERE
table_name = 'table_name’
ORDER BY
ordinal_position;