SQL/Redshift

Redshift : pg_tables (table 종류, owner 종류 추출)

CosmosProject 2023. 1. 31. 19:28
728x90
반응형

 

 

 

select  *
from pg_tables
;

Redshift에서는 pg_table를 이용하면 database에 있는 table의 종류와 각 tabe의 owner를 알 수 있습니다.

 

 

 

 

 

 

728x90
반응형