null로 써있는 것을 DB에 끌어갈때는 NULL로 인식시킨다고 하는데 해보긴 해야겠네..
| copy r from '/home/y.csv' delimiter ',' csv NULL AS 'null'; |
[링크 : https://stackoverflow.com/questions/19034674/copy-null-values-present-in-csv-file-to-postgres]
'프로그램 사용 > postgreSQL' 카테고리의 다른 글
| postgresql 정수형에 "NULL"이 null로 인식을 못할때 (0) | 2019.09.18 |
|---|---|
| query tweak join vs large table (0) | 2019.09.17 |
| cross join (0) | 2019.09.08 |
| sql 여러행을 하나로 합치기 concat (0) | 2019.09.08 |
| 값별 갯수 통계 (0) | 2019.09.07 |
