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 6565645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:07:11+00:00 2026-05-25T14:07:11+00:00

I have a CSV file with a {LF} delimiting each row and a date

  • 0

I have a CSV file with a {LF} delimiting each row and a date column with the date format as "12/20/2010" (including quotation marks)

My destination column is a SQL Server 2008 database table of type date (not datetime)

In my Flat File Connection Manager, I have configured the date column to be data type date [DT_DATE] with TextQualified set to true and the column delimiter as {LF} (it is the last column on each row). I have the text qualifier set to "

When I try to load this into an OLE Destination I get the following error

[TRN_DORPS [760]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: “Microsoft OLE DB Provider for SQL Server” Hresult: 0x80004005 Description: “Invalid character value for cast specification.”.
[TRN_DORPS [760]] Error: There was an error with input column “”CYCLE_DATE”” (874) on input “OLE DB Destination Input” (773). The column status returned was: “The value could not be converted because of a potential loss of data.”.

If I attach a data viewer, the value in the pipeline is 2010-12-20 00:00:00.0000000 – is this time component what’s causing the problem? I try to strip out the time component with (DT_DATE)(DT_DBDATE)[CYCLE_DATE] but to no avail as it stays the same in the pipeline

  • 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-25T14:07:12+00:00Added an answer on May 25, 2026 at 2:07 pm

    I was ultimately able to resolve the solution by setting the column type in the flat file connection to be of type “database date [DT_DBDATE]”

    Apparently the differences between these date formats are as follow:

    DT_DATE
    A date structure that consists of year, month, day, and hour.

    DT_DBDATE
    A date structure that consists of year, month, and day.

    DT_DBTIMESTAMP
    A timestamp structure that consists of year, month, hour, minute, second, and fraction

    By changing the column type to DT_DBDATE the issue was resolved – I attached a Data Viewer and the CYCLE_DATE value was now simply “12/20/2010” without a time component, which apparently resolved the issue.

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

Sidebar

Related Questions

I have a csv file where each row is a different type of record.
I have a csv file with 350,000 rows, each row has about 150 columns.
I have a csv file where each row defines a room in a given
I have a csv file that has a date field in a format like
I have a CSV file in the following format: id,code,date,address,complete_url Example data from the
I have a csv file of the format: 270291014011 ED HARDY - TRUE TO
I have a CSV file that has only 1 column, but has close to
I have a CSV file with several entries, and each entry has 2 unix
I have a CSV file which has the following format: id,case1,case2,case3 Here is a
I have a csv file in a format resembling the following. There are no

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.