I tried in CC:
CONNECT TO ECX;
ALTER TABLE DB2ADMIN.CLIENT DROP CHECK SQL080111061154110 ;
CONNECT RESET;
====The Error =====
SQL0607N "DROP CONSTRAINT
" is not defined for system objects.
Explanation:
The "<operation>" specified in the SQL statement cannot be
performed on system objects. One of the following was
attempted:
o DROP or ALTER a system owned object such as a system catalog
table, built-in function or built-in data type
o COMMENT ON a system owned built-in function.
o INSERT or DELETE on a system catalog table.
o UPDATE directly on a system catalog table. Some columns of a
subset of system catalog tables are updatable. For UPDATE
operation on these catalog tables, updatable views in SYSSTAT
schema should be used. For a description of updatable catalog
views (SYSSTAT views), see the SQL Reference .
o CREATE or DROP of an index on a system table
o CREATE of a trigger on a system table
o A non-updatable system table was identified in the FROM
clause of a SELECT statement containing a FOR UPDATE clause.
For a list of updatable system catalogs see the SQL
Reference .
o DROP or ALTER of a system table space.
o DROP or ALTER of a system database partition group.
o REDISTRIBUTE of the IBMCATGROUP or IBMTEMPGROUP database
partition group.
The statement cannot be processed.
User Response:
Do not attempt to modify any system objects except for those
columns of the system catalog tables which are updatable through
updatable SYSSTAT views. See the SQL Reference for more
information.
sqlcode : -607
sqlstate : 42832
=========
I tried on Command Window. Tried Setting Integrity off before dropping.
Help is needed. - Want to drop Check Constraint in a table.
Thanks in adv
DBFinder