Skip to main content
adicionou 16 caracteres ao conteúdo
Fonte Link
Sergio
  • 135,1mil
  • 16
  • 201
  • 294

SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('CampoParaBuscar') AND TABLE_SCHEMA='SeuBancoDeDados';

SELECT DISTINCT TABLE_NAME 
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE COLUMN_NAME IN ('CampoParaBuscar')
        AND TABLE_SCHEMA='SeuBancoDeDados';

SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('CampoParaBuscar') AND TABLE_SCHEMA='SeuBancoDeDados';

SELECT DISTINCT TABLE_NAME 
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE COLUMN_NAME IN ('CampoParaBuscar')
        AND TABLE_SCHEMA='SeuBancoDeDados';
Fonte Link

SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('CampoParaBuscar') AND TABLE_SCHEMA='SeuBancoDeDados';