on 08-28-2008 4:40 PM
I use this statement to create a new foreign key:
Alter Table "RETAILER" add Foreign Key ("USERGROUP_ID") references "USERGROUP" ("USERGROUP_ID") on delete restrict
The error message I get is as follows:
[Error Code: -4005, SQL State: 42000] [-4005] (at 42): Unknown column name:ZIP
"ZIP" is an existing colum of the "RETAILER" entity. But what the heck has the ZIP column to do with the alter table statement?!
Cheers,
Dominik
Hi Dominik,
what MaxDB version do you use?
Please post the DDL for the two tables so that we can reproduce the problem.
Best regards,
Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.