简体   繁体   English

SSIS错误,将csv文件导入到目标

[英]SSIS error, import csv file to destination

Hello I have a csv file with 1 million row. 您好,我有一个带有100万行的csv文件。 And i try to import from the file to my source which is a database. 我尝试从文件导入到我的数据库源。 Why do I get error exactly? 为什么我确切地得到错误?

Please click at the images bellow and try to correct me and help me! 请点击下面的图片,并尝试纠正我并帮助我!

在此处输入图片说明

在此处输入图片说明

The error is pretty clear. 错误非常明显。 It's telling you that there is a mismatch in column lengths. 它告诉您列长度不匹配。 Your source (CSV file) contains columns that may get truncated when they are imported into the the destination (database). 源(CSV文件)包含的列在导入到目标(数据库)时可能会被截断。

The CSV column lengths are all 255, while your database shows to have columns that are length 50. CSV列的长度均为255,而数据库显示的列长度为50。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM