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');
Indian Economy MCQ Set-20 Q.1 Which of the following is the biggest contributor of foreign exchang...
No comments:
Post a Comment