Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
madpop1
Starting Member
4 Posts |
Posted - 2014-11-24 : 05:58:23
|
im import a .csv file to sql server 2012 when ever im importing im getting this error Messages• Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column ""url"" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard) • Error 0xc020902a: Data Flow Task 1: The "Source - Jobs_csv.Outputs[Flat File Source Output].Columns["url"]" failed because truncation occurred, and the truncation row disposition on "Source - Jobs_csv.Outputs[Flat File Source Output].Columns["url"]" specifies failure on truncation. A truncation error occurred on the specified object of the specified component. (SQL Server Import and Export Wizard) • Error 0xc0202092: Data Flow Task 1: An error occurred while processing file "C:\sql\Jobs.csv" on data row 2. (SQL Server Import and Export Wizard) • Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Source - Jobs_csv returned error code 0xC0202092. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure. (SQL Server Import and Export Wizard) |
|
gbritton
Master Smack Fu Yak Hacker
2780 Posts |
Posted - 2014-11-24 : 09:07:02
|
Sounds like your input file has a different encoding than your database. You need to get those in sync.Truncation is, well, truncation! The Flat File Source probably needs wider columnsThe last two errors are because of the first two errors. |
|
|
|
|
|