方式一:直接把文件拷到本地,在DBeaver中運行:
copy CareGapDataEntry --表名 ( EUID, --字段名,字段必須與表字段對應 PatientID , MemberID , UserID , "Action" , Name , DOB , Gender , DateofService , LastUpDt , Exclusion , Result, Condition, Measure , CreateDt ) FROM local 'C:\Users\awei\Desktop\supp_20150710200000013.txt' --待導入的數據文件 enclosed by '"' escape as E'\001' delimiter E'|' skip 1 direct;