Bitte helfen Sie mir mit diesem, ichConstraint Probleme bei der Drop Nicht null auf iseries IBM AS400
ALTER TABLE MY_TABLE DATA CAPTURE NONE;
ALTER TABLE MY_TABLE ALTER MY_COLUMN DROP NOT NULL;
ausführen, aber dann habe ich den gefolgten Fehler:
SQL State: 57007
Vendor Code: -910
Message: [SQL0910] The MY_TABLE object type * FILE MY_SCHEMA has a pending change.
Cause . . . . . : The MY_TABLE object has a pending change made under commitment control is preventing this operation. You may have produced one of the following circumstances:
This application process has performed an operation on this object under commitment control. The transaction is not committed. The application process is now trying to change the same object using the commitment control level of * NONE.
A different process application has performed an operation on this object under commitment control. The transaction is not committed.
This application process has performed an operation on this object under commitment control using a different definition of commitment. The transaction is not committed.
This application process has performed an operation on this object under commitment control. The transaction is not committed.
You can not change the table until commit or roll back the changes.
Retrieval. Do one of the following and retry the request:
If your application process issued the uncommitted operation, run a COMMIT or ROLLBACK before attempting any other operation on this object, or issue the statement from a program using a commitment control level other than * NONE.
If the application process that issued the uncommitted operation on this object is not to your application, then that application process must perform a COMMIT or ROLLBACK.
If the application process issued the uncommitted operation using a different definition of commitment, issue a COMMIT or ROLLBACK to the definition of commitment.
Issue COMMIT or ROLLBACK before attempting an ALTER TABLE statement on this subject.
Bitte helfen Sie mir !!
haben Sie versucht, COMMIT zwischen alter tables? – Charles
Ich versuche, zu arbeiten und Rollback-Arbeit, nachdem ich dieses Chaos bekommen, aber es funktioniert nicht. Ich kann die Einschränkung nicht aus dem iseries navigator löschen oder sogar auf "Ja" setzen, sie blieb in Defined ... – rcapuz
Erst update my_column, wo my_column null ist .... dann ändere die Tabelle. – danny117