Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 806505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:15:13+00:00 2026-05-15T00:15:13+00:00

I am trying to import CSV file to SQL server database, with no success.

  • 0

I am trying to import CSV file to SQL server database, with no success. I am still newbie to sql server.

Operation stopped…

  • Initializing Data Flow Task (Success)

  • Initializing Connections (Success)

  • Setting SQL Command (Success)

  • Setting Source Connection (Success)

  • Setting Destination Connection (Success)

  • Validating (Success)
    Messages

    • Warning 0x80049304: Data Flow Task 1: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system’s console.
      (SQL Server Import and Export Wizard)
  • Prepare for Execute (Success)

  • Pre-execute (Success)
    Messages

    • Information 0x402090dc: Data Flow Task 1: The processing of file "D:\test.csv" has started.
      (SQL Server Import and Export Wizard)
  • Executing (Error)
    Messages

    • Error 0xc002f210: Drop table(s) SQL Task 1: Executing the query "drop table [dbo].[test]
      " failed with the following error: "Cannot drop the table ‘dbo.test’, because it does not exist or you do not have permission.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
      (SQL Server Import and Export Wizard)

    • Error 0xc02020a1: Data Flow Task 1: Data conversion failed. The data conversion for column ""Code"" 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 "output column ""Code"" (38)" failed because truncation occurred, and the truncation row disposition on "output column ""Code"" (38)" 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 "D:\test.csv" on data row 21.
      (SQL Server Import and Export Wizard)

    • Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "Source – test_csv" (1) 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)

  • Copying to [dbo].[test] (Stopped)

  • Post-execute (Success)
    Messages

    • Information 0x402090dd: Data Flow Task 1: The processing of file "D:\test.csv" has ended.
      (SQL Server Import and Export Wizard)

    • Information 0x402090df: Data Flow Task 1: The final commit for the data insertion in "component "Destination – test" (70)" has started.
      (SQL Server Import and Export Wizard)

    • Information 0x402090e0: Data Flow Task 1: The final commit for the data insertion in "component "Destination – test" (70)" has ended.
      (SQL Server Import and Export Wizard)

    • Information 0x4004300b: Data Flow Task 1: "component "Destination – test" (70)" wrote 0 rows.
      (SQL Server Import and Export Wizard)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:15:14+00:00Added an answer on May 15, 2026 at 12:15 am

    You really have two major problems in your import:

    Error 0xc002f210: Drop table(s) SQL
    Task 1: Executing the query “drop
    table [dbo].[test] ” failed with the
    following error: “Cannot drop the
    table ‘dbo.test’, because it does not
    exist or you do not have permission.”.

    It seems like you’re trying to drop a table that doesn’t even exist. Solution: just don’t do it!

    Error 0xc02020a1: Data Flow Task 1:
    Data conversion failed. The data
    conversion for column “”Code””
    returned status value 4 and status
    text “Text was truncated or one or
    more characters had no match in the
    target code page.”.

    Your column “Code” obviously is longer than the resulting column that you have in your target table. Check the mappings – maybe this is a very long character string, and the default length for the VARCHAR column in SQL Server is too small. Change the target column’s data type to e.g. VARCHAR(MAX) – that gives you 2 GByte of space! That should be enough….

    Also it seems that “Code” column contains characters that aren’t present in your currently selected code page in SQL Server – can you strip those extra special characters before importing? If not, you might need to use NVARCHAR(MAX) for your target column’s data type in order to allow it to use Unicode for its characters (thus supporting even the most exotic of characters in your input string).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 394k
  • Answers 394k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The full type signature of reactimate is IO a --… May 15, 2026 at 2:27 am
  • Editorial Team
    Editorial Team added an answer SELECT post.id, post.title, user.id AS uid, username, COALESCE(x.cnt,0) AS comment_count… May 15, 2026 at 2:27 am
  • Editorial Team
    Editorial Team added an answer Depending on what type of application it is there is… May 15, 2026 at 2:27 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.