“PostgreSQL Show Tables” Respostas de código

Obtenha todas as tabelas depois degres

SELECT * FROM pg_catalog.pg_tables;
Colorful Centipede

Mostrar tabelas postgreSql

SELECT *
FROM INFORMATION_SCHEMA.tables
where table_schema = 'public';
Puzzled Penguin

postgresql como mostrar nomes de tabela

SELECT table_name
  FROM information_schema.tables
 WHERE table_schema='public'
   AND table_type='BASE TABLE';
Impossible Ibis

Mostre detalhes da tabela Postgres

postgres=# \d tablename;
experimental

PostgreSQL Show Tables

SELECT *
FROM pg_catalog.pg_tables
WHERE schemaname != 'pg_catalog' AND 
    schemaname != 'information_schema';
Code language: SQL (Structured Query Language) (sql)
Yucky Yak

Respostas semelhantes a “PostgreSQL Show Tables”

Perguntas semelhantes a “PostgreSQL Show Tables”

Mais respostas relacionadas para “PostgreSQL Show Tables” em Sql

Procure respostas de código populares por idioma

Procurar outros idiomas de código