From 54de8ab6402329b8d54807358cc42a5dff899a0f Mon Sep 17 00:00:00 2001 From: Guillem Borrell Nogueras Date: Tue, 17 Jan 2023 19:13:26 +0100 Subject: [PATCH] Update 'Copy data to postgresql' --- Copy-data-to-postgresql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Copy-data-to-postgresql.md b/Copy-data-to-postgresql.md index 0d66fe7..f128493 100644 --- a/Copy-data-to-postgresql.md +++ b/Copy-data-to-postgresql.md @@ -1,5 +1,5 @@ ``` -$ head -n 100 /data/raw/data.csv | iconv -c -f ASCII -t UTF-8 | dr csv -i | dr schema -p -n customer_base_data +$ head -n 100 /data/raw/data.csv | dr schema -i -p -n customer_base_data CREATE TABLE IF NOT EXISTS "customer_base_data" ( ); ALTER TABLE "customer_base_data" ADD COLUMN "SWO_Region" varchar(128);