0

How to select all tables that contain a specific column?

2
  • 1
    What do you mean a specific column? Commented Sep 28, 2018 at 7:54
  • what does it mean select all tables and specific column ?could you please describe more Commented Sep 28, 2018 at 7:55

1 Answer 1

2

Is this what you expect?

demo: db<>fiddle

SELECT table_name
FROM information_schema.columns
WHERE column_name = 'your_column_name'
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.