Write a psql script to list the columns with `text` datatype
Answer:
SELECT column_name
FROM information_schema.columns
WHERE table_name = 'myTable'
AND (data_type = 'text' OR data_type = 'character varying');
The Tale of Custard the Dragon About the poem: This poem is written in the style of a ballad — a song or poem that tells a story. You must...
No comments:
Post a Comment