Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-02-18 : 23:47:39
|
| Tony writes "I am trying to do a DTS of MS Access database with datetime formats. I have 32 colums, 15 columns with datetime formats and during the transfer I recieve error messages on two fields only. The error message reads:Error at Destination for row number 116858. Error encountered so far in this task: 1. Insert error, column 26 (Fieldname;DBTYPE_DBTIMESTAMP), status 6: Data overflow invalid character for cast specification.Meanwhile, I have 15 datetime fields and I am only geting this error message on two of them. If I remove the two fields, the rest transfers OK. But I need those two fields to enable managers complete their reports.I am using SQL server 2000 with service pack 3 and windows 2000 server with service pack 3.Help Anyone." |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2003-02-19 : 11:27:47
|
| Check the data in the datetime fields.sql server oesn't allow dates before 1753 for instance.Safer to import into a table with character fields then insert into the production tables. You can then reformat in the insert statement easily. And it's easier to debug.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
aozogu
Starting Member
4 Posts |
Posted - 2003-02-20 : 12:00:43
|
| Hi nr, I can import into and sql table with character ok but I will have to change the datatypes later. I am trying to avoid doing thise every time becuase I download the data from a Unix server in dbf format on a daily bases. The table is rather large, and my goal is to structure the transfer in such a way that I won't be modifying the tables after each transfer. |
 |
|
|
|
|
|