The RESTRICT keyword is required with the DROP ROW TYPE statement. RESTRICT causes DROP ROW TYPE to fail if dependencies on row_type exist.
The DROP ROW TYPE statement fails and returns an error message if any of the following conditions is true:
Check the systables and syscolumns system catalog tables to find out whether any tables or data types use the named ROW data type.
Look in the sysinherits system catalog table to see which named ROW data types have child types.
The following statement drops the named ROW data type employee_t:
DROP ROW TYPE employee_t RESTRICT
Related statement: CREATE ROW TYPE
For a description of the system catalog tables, see the IBM Informix Guide to SQL: Reference.
For a discussion of named ROW data types, see the IBM Informix Guide to SQL: Tutorial.
For information on how to create user-defined data types, see IBM Informix User-Defined Routines and Data Types Developer's Guide.