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');
Please wait...
Resources and Development – Contemporary India II Contemporary India – II | Chapter 1 Resources and...
No comments:
Post a Comment