Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2016
    Posts
    2

    Unanswered: CSV file with varchar(50) colums

    Hi

    How can I convert varchar values from csv file to database columns - decimal

  2. #2
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,799
    Provided Answers: 11
    What tools are you using? SSIS, bcp, bulk insert?

  3. #3
    Join Date
    Jul 2016
    Posts
    2

    Ssis

    Hi. Using SSIS also tried import and export

  4. #4
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,799
    Provided Answers: 11
    Important question. Are all of the values actually decimal values? If so, you can simply use a data conversion task in your data flow. If not, then you have some error trapping to do.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •