Quantcast
Channel: SCN : Popular Discussions - SAP MaxDB
Viewing all articles
Browse latest Browse all 1545

[-9205]: System error: AK Catalog information not found / CONSTRAINT

$
0
0

Hello all,

 

We get the following error (in MaxDB Version 7.7.06.09):

 

    [-9205]: System error: AK Catalog information not found:00000000000037BD000A0011

 

... when reading the constraint definitions for a specific table like this:

 

     select * from constraints where tablename='TABNAME'

 

This error happens since we made some meta data changes as follows:

 

   rename column TABNAME.A to B

   alter table TABNAME drop B

   (also some other columns were added and some removed from table TABNAME)

 

I guess that this error happens because the statement "alter table TABNAME drop B" did not properly drop a constraint definition that should be removed because column 'B' was part of the constraint definition. It seems that the check for depending constraint definitions that usually removes these when a column is removed contained in the constraint definition, does not apply in some specific cases, probably because of a specific rename/add/remove-sequence.

 

I guess a workaround is to remove all depending constraint definitions manually, BEFORE the column is removed.

 

Unfortunately it seems impossible to do so afterwards.

 

Thanks for any comment on this.

Gabriel


Viewing all articles
Browse latest Browse all 1545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>