如題,話不多說直接上代碼。
--Oracle
select table_name from user_tables where table_name like '%關鍵字%'
--MySQL
SELECT distinct TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME LIKE '%關鍵字%'
--SqlServer
select name as table_name from sys.objects where type='U' and name like '%關鍵字%'
及時總結,不用加晚班