Home > Database > Mysql Tutorial > body text

MySQL 找出使用了某列名的所有表

WBOY
Release: 2016-06-07 14:54:45
Original
1180 people have browsed it

无详细内容 无 SELECT table_name,column_name FROM information_schema.columnsWHERE column_name LIKE '% tax %' Table_Name Column_namet_Customer tax_idt_Employee tax_numbert_Balance_sheet tax_percentage

SELECT table_name,column_name FROM information_schema.columns
WHERE column_name LIKE '% tax %'
Copy after login
Table_Name 	Column_name
t_Customer 	tax_id
t_Employee 	tax_number
t_Balance_sheet tax_percentage
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template