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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:55:53+00:00 2026-05-18T10:55:53+00:00

I have a FoxPro data source, and the destination is SQL Server 2008. On

  • 0

I have a FoxPro data source, and the destination is SQL Server 2008.

On the FoxPro side, I have a column with the Date data type. That’s a width of 8, min value is 0001-01-01 and max is 9999-12-31. On the SQL Server side, I have a datetime. Also a width of 8, min value is 1753-01-01 and max is 9999-12-31.

In my SSIS Data Flow task, I have an OLE DB Source component that reads in the FoxPro table. The columns are mapped as DT_DBDate in both External and Output Columns. The OLE DB Destination to the SQL Server table takes that columns and flows it to a DT_DBTIMESTAMP. I’m sure that DT_DBTIMESTAMP can handle these date ranges adequately, and reasonably sure about DT_DBDATE (but am having trouble finding it in MS documentation).

The Problem

When I execute the task, I’ve been having trouble with it failing and complaining of “Invalid date format” and then “Conversion failed because the data value overflowed the specific type” when it encounters values from around the early 1900s, to values over 2050. I’m not exactly sure where I’ve gone wrong.

Bonus Question

How can I handle overflows in my data flow task?

  • 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-18T10:55:53+00:00Added an answer on May 18, 2026 at 10:55 am

    you might want to do a simple VFP query looking for the records that are beyond the range such as a VFP query of

    select * from yourtable
       where YourDate < date( 1753, 1, 1 )
          or YourDate > date( 9999, 12, 31 )
    

    look at those records for problems…
    Additionally, look at other columns that may be causing your boundary issues

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

Sidebar

Related Questions

I have an Excel 2007 workbook that contains an ODBC data connection (to FoxPro,
Have you ever seen any of there error messages? -- SQL Server 2000 Could
I have a ton Visual FoxPro db files that I am trying to import
We have an application that creates a number of Visual Foxpro (DBF) tables. Each
I have a foxpro database that we are trying to write to using MS
I am a .NET developer now and have come from Foxpro /VB6/COM background. Over
What compatibility issues have you found when developing with Visual FoxPro 9 on Windows
Have you guys had any experiences (positive or negative) by placing your source code/solution
Newbie to .NET data apps here, coming from a Visual Foxpro background. I'm planning
Have noticed issue while testing iphone app that if one quickly opens/dismisses a modal

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.