The DELETE PARTITION command deletes a partition and, optionally, all the partition's children to the bottom, or root, of the partition hierachy. Since a partition is a nonversioned element, CDO does not accept a branch designation or a version number in partition names. If a partition is a child, you must delete its parent or parents before you delete the partition. If the partition's immediate parent is a child of another element, you must trace the relationships back until you reach the element that has no parents. An error occurs if you attempt to delete a partition that contains elements. Promote or delete elements from a partition prior to issuing the DELETE PARTITION command.