Select * from information_schema.tables; Select Table_name from information_schema.tables Where table_schema='public'; Select * from information_schema.columns; Select column_name, data_type from information_schema.columns where table_name='grantapplication'; Select sequence_name from information_schema.sequences; Select column_name, data_type, constraint_name, constraint_Type From information_schema.columns Join information_schema.table_constraints on information_schema.columns.table_name=information_schema.table_constraints.table_name where information_schema.columns.table_name='grantapplication' Order by column_name; Select * from pg_catalog.pg_tablespace; Select * from pg_catalog.pg_extension;
Wednesday, July 10, 2019
System Queries
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment