1
錶轉儲文件約爲30Gib。因此,當我將它的內容加載到MonetDB中時,我得到了一些異常(「在輸入空字節」,「意外開啓,期待'='在:設置ansi_nulls on」,意外'['in:「create table [」等),因爲這個文件是用mssql-way格式化的。如何從mssql複製到monetDb?如何將表從MS SQL Server 2012複製到MonetDB
UPD:從CSV複製,我的SQuirreL
使用這些腳本CREATE TABLE "PageTracking"(
"PageTrackingID" bigint,
"TimeStamp" date,
"Hash" varchar(50) ,
"UserIP" varchar(16) ,
"UserAgent" varchar(1000) ,
"UserID" varchar(16) ,
"SessionID" varchar(16) ,
"Page" varchar(20) ,
"DocId" int ,
"Url" varchar(500) ,
"Referer" varchar(500) ,
"Rank" int ,
"Total" int
)
然後
COPY OFFSET 2 INTO "PageTracking" FROM 'f:\tmp\pagetracking.csv'
當我使用MonetDb客戶端,我得到:
sql>copy offset 2 into sys.pagetraking from 'f:\tmp\pagetracking.csv';
COPY INTO: no such table 'pagetraking'