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

  • Home
  • SEARCH
  • 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 a website that uses asp.net 3.5 and Sql server 2008 as backend
I am trying to import data from a FoxPro database into Sql Server however
I have an Excel 2007 workbook that contains an ODBC data connection (to FoxPro,
I have a ton Visual FoxPro db files that I am trying to import
I have a huge collection of visual foxpro dbf files that I would like
We have an application that creates a number of Visual Foxpro (DBF) tables. Each
This the scenario have. There's an SSRS server that has a report where the
I have a program written in foxpro (~shudder~) that I've inherited. The issue is,
I have a PC application (FoxPro) that uses a local database. I want to
Scenary: SQL Server 2005 x64 (default instance) Data on Fox Pro .dbf. Only 32

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.