Access导出CSV的SQL

Select * INTO [TEXT;CharacterSet=65001;FMT=CSV;DELIMITED;HDR=YES;DATABASE=E:\temp\].test.csv FROM tablename

另外,向Postgre中导入CSV

copy tablename(item,...) from ‘e:\temp\.test.csv‘ with csv header quote ‘"‘;

COPY tablename [ ( column [, ...] ) ]
    FROM { ‘filename‘ | STDIN }
    [ [ WITH ]
          [ BINARY ]
          [ OIDS ]
          [ DELIMITER [ AS ] ‘delimiter‘ ]
          [ NULL [ AS ] ‘null string‘ ]
          [ CSV [ HEADER ]
                [ QUOTE [ AS ] ‘quote‘ ]
                [ ESCAPE [ AS ] ‘escape‘ ]
                [ FORCE NOT NULL column [, ...] ]

Access导出CSV的SQL,布布扣,bubuko.com

Access导出CSV的SQL

上一篇:[MySQL CPU]线上飙升800%,load达到12的解决过程


下一篇:dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured