Quantcast
Viewing all articles
Browse latest Browse all 2539

Re: MaxDB 7.9 error when importing data from MaxDB 7.6

Hi Werner,

ok, got it. Here you go:

The problem is not the data but the definition of the table itself. The Loader did not even create the table upon IMPORT in your case. What's the problem then? The 7.6 Loader creates during EXPORT a table definition that looks similar to this (in the catalog file):

CREATE TABLE

...

<col name> DATE DEFAULT '19700101'

...

 

Here the explicit default value for the date column is represented in INTERNAL format. And if you would have used the 7.6 Loader to IMPORT, no error would have happened. It can deal with this format in definitions. But you used the 7.9 Loader to import the table. And this one expects an explicit default value for date in table definitions in ISO format (1970-01-01) because it creates those upon EXPORT. So here already the table creation fails.

If you would have used the 7.9 Loader for EXPORT and IMPORT this error would not have happened, too.

Regards,

Steffen


Viewing all articles
Browse latest Browse all 2539

Trending Articles