Re: Importing data from R2K2
I've got a set of data that have been exported from R2K2 that I'm having difficulty importing into R6. Although it analyses just fine, with only one invalid item, virtually the whole lot is rejecting. After a bit of analysis of the ImportRejects.txt file (which didn't give me enough info) and some wrangling in Access (which gave me much more info), I managed to come across this error:
ODBC--call failed
[Microsoft][SQL Native Client]Fractionaltruncation (#0) [Microsoft][SQL Native Client]Datetime field overflow(#0)
This is the error I get if I try to paste one of the rejecting rows into the live database. It would seem that the live database doesn't like the ENTRY_DATE value of 00:00:00. If I remove these values, it pastes in fine. If I manually specify a full date and time, it goes in fine. It's only with the value specified above do I get the error. Now, on analysis of the import file I have, there are quite a few ENTRY_DATEs with a value of 00:00:00, which is rendering my import impossible.
What is going on here?
Cheers,
Charles
Digital Development Manager | Field Studies Council
http://www.field-studies-council.org | https://twitter.com/charlesroper | https://twitter.com/fsc_digital