将数据从CSV上传到SQL Sever,其中CSV具有回车符

时间:2016-06-13 08:18:19

标签: sql-server csv

我有一个CSV,我需要在SQL Server的表中上传。通常,任何csv文件都会在该表中上传。但这次,带回车的文件导致了一些严重的上传问题。以下是csv的前两行。列描述具有回车符的数据。

"REV"   "LIFECYCLEPHASE"    "RELDATE"   "INCDATE"   "CHANGECATEGORY"    "EFFECTIVEDATE" "OBSOLETEDATE"  "CLASS" "TYPE"  "number"    "DESCRIPTION"   "PROPOSEDREV"   "STATUS"
"00"    28687   19-OCT-05       200012  19-OCT-05       "Change Orders" "ECO"   "P006508"   "WORLDDSL G.SHDSL PHASE 2:  PCB artwork V11 release to meet the new Anatel conducted emission test requirement from Brazil customer."   "00"    "Implemented"
"01"    28687   04-NOV-05       200012  04-NOV-05       "Change Orders" "ECO"   "P008027"   "Change for WORLDDSL G.SHDSL PHASE 2 V.11 Subassy BOM:
1. change Q1 and Q9 to use 1336419
2. change R89 to R88

Change for WORLDDSL G.SHDSL PHASE 2 V.11 top level BOM:
3. add washiers for all the screws
4. update top assembly drawing to add insulator on main PCB for Ethernet RJ45 connector, and add washiers for each screw.
5 obsolete Ethernet bridge upgrade kit


"   "01"    "Implemented"

我使用SQL Server的导入/导出实用程序。任何人都可以告诉我如何解决这个问题。

0 个答案:

没有答案