본문 바로가기

내가 당면한 문제와 해결방안

postgresql get column_name with data_type

select column_name,data_type 
from information_schema.columns 
where table_name = 'table_name';

stackoverflow.com/a/32369441/10194999

'내가 당면한 문제와 해결방안' 카테고리의 다른 글

create index with mapping  (0) 2020.06.09
postgresql trigger retrieve  (0) 2020.05.28
logstash postgres to elasticsearch  (0) 2020.05.15
logstash postgres to elasticsearch  (3) 2020.04.21
python 환경 관리  (0) 2020.04.16