注意:本篇文章僅適用於mysql和postgre這兩種數據庫mysql
select * from INFORMATION_SCHEMA.tables
sql
select * from INFORMATION_SCHEMA.tables where table_name = 'eguid';數據庫
select * from INFORMATION_SCHEMA.tables where table_name like '%eguid%'; post
select * from INFORMATION_SCHEMA.columns ui
select * from INFORMATION_SCHEMA.columns where COLUMN_NAME = 'eguid';
table
select * from INFORMATION_SCHEMA.columns where COLUMN_NAME Like '%eguid%';
gui