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');
MCQs on Class 9 Maths: Chapter 3 Coordinate Geometry Each question has 4 options. Choose the correct answer to impro...
No comments:
Post a Comment