27 Dec, 2023
SELECT
m.name as table_name,
p.name as column_name,
p.*
FROM
sqlite_master AS m
JOIN
pragma_table_info(m.name) AS p
WHERE
m.type = 'table'
ORDER BY
m.name,
p.cid;
Be the first to comment.
Copyright James Gardner 1996-2020 All Rights Reserved. Admin.