ConstraintDescriptor constraintDescriptor;
// go through all the constraints defined on the table
for (int index = 0; index < size; index++)
{
constraintDescriptor = constraintDescriptorList.elementAt(index);
// if it is a check constraint, error
if (constraintDescriptor.getConstraintType() == DataDictionary.CHECK_CONSTRAINT)
{
throw StandardException.newException(
SQLState.LANG_PROVIDER_HAS_DEPENDENT_OBJECT,