Data Overflow error

  • Does anybody tried to import a long time field from access into sql server 2000? when I try to import a field like "9:30:50 AM" to sql server, I got a errror:error at destination for row number 1 .... data overflow. invalide character value for case specification. How can I solve this problem?Thanks!

  • Do you have a date linked to that time??

  • is the column varchar or datetime??

  • try importing as a varchar() field.

    Also what are the biggest and smallest dates in that table?

  • not quite... changing to varchar just makes the transfer work.. you still should use datetime if possible, that's why I wanted to know about the range of dates.

  • without a date attached to it?

  • Try merging them into a single field when doing the transfer in a datetime field, it should work... or transfer them separatly and merge them afterwards.

  • Without knowing how you are doing the import, it is difficult to respond.  I have 2 thoughts:

    1) If you store the date as text in your MDB, you will have to Cast/Convert it to DateTime as you do the import.

    2) Access use "#" to delinieate date/time, but SQL Server uses single quotes.  Perhaps your problem has to do with SQL Server receiving a "#" character instead of single quotes?

    How are you doing the import procedure????

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply