Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

psql get table data types

SELECT
    column_name,
    data_type
FROM
    information_schema.columns
WHERE
    table_name = 'table_name';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #psql #table #data #types
ADD COMMENT
Topic
Name
3+2 =