Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

254
Views
Obtenga una lista de todos los esquemas que contienen un determinado nombre de tabla

He mirado estas preguntas:

  • consulta postgres para enumerar todos los nombres de tabla
  • Psql enumera todas las tablas

Pero ninguno de ellos responde completamente a mi pregunta. Estoy tratando de buscar en una base de datos PostgreSQL completa y enumerar el nombre de cada esquema que contiene una tabla de "grupos".

Estoy pensando en algo como:

 SELECT * FROM information_schema.tables WHERE table_name='groups';

Pero todavía falta cómo obtener los esquemas que lo contienen.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

SELECT DISTINCT table_schema FROM information_schema.tables WHERE table_name='yourtablename';
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!