版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/rav009/article/details/84236032
Oracle
select table_name from user_tables where table_name like '%plnsm%';
select OWNER, TABLE_NAME, COLUMN_NAME from all_tab_columns where COLUMN_NAME LIKE '%plng_sum_cd%';
AWS Redshift
select distinct(tablename) from pg_table_def where tablename like '%pln%';
SELECT distinct table_name FROM information_schema.columns where column_name like '%plng_sum_cd%';
SELECT * FROM information_schema.columns where table_name like '%slsm_plnsm_lk%';
https://docs.aws.amazon.com/redshift/latest/dg/t_querying_redshift_system_tables.html