Advertisement
Virajsinh

MySQL Database Check How Many Table Have Column Match Query

Sep 21st, 2024
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.14 KB | Source Code | 0 0
  1. SELECT TABLE_NAME
  2. FROM INFORMATION_SCHEMA.COLUMNS
  3. WHERE COLUMN_NAME = 'COLUMN_NAME_TYPE_HERE'
  4.   AND TABLE_SCHEMA = 'DATABASE_NAME_TYPE_HERE';
Tags: mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement