on 04-17-2010 11:12 AM
(I have already posed this before here [; but got the impression that it's because our instance was corrupt somehow.)
Loader catalog export produces DDL files with wrong syntax. This is on MaxDB Version 7.7.07.16.
How to reproduce:
Create a table like this:
CREATE TABLE "SOMETHING"
(
"GROUPID" Fixed (3,0) NOT NULL DEFAULT 1,
"LOBCOL" Clob ASCII NOT NULL DEFAULT '<abc><123>',
CONSTRAINT SYSPRIMARYKEY PRIMARY KEY("GROUPID")
)
Now to a catalog export:
EXPORT TABLE something CATALOG OUTSTREAM 'something_ddl.catalog'
Look at the exported DDL file:
//
USE SCHEMA "DBUSER"
//
CREATE TABLE "SOMETHING"
(
"GROUPID" Fixed (3,0) NOT NULL DEFAULT 1,
"LOBCOL" Clob ASCII NOT NULL DEFAULT <abc><123>,
CONSTRAINT SYSPRIMARYKEY PRIMARY KEY("GROUPID")
)
//
See the default value of "LOBCOL", it misses the apostrophes and can therefore not be used for import!
I guess this should be easy to fix in the sorces
Thanks,
Simon
No reaction for a long time and change requests mentioned in answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steffen,
Thanks for your confirmation. My problem is that I'm still stuck by this issue [; which prevents me from doing export, edit, import. Do you think this is related somehow?
The problem is that I can export every single table of the schema successfully but doing an export user or export schema crashes.
Thanks,
Simon
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.