Hi and many thanks.
the only <fortunate> thing is that we have only 2 objects Px and Cx.
Px and Cx are easly identified because they have a <column> that says if they are Px and Cx.
Px and Cx are longer names: they are string but currently have not seen <dashes> or <spaces> or something like that could generate issues.
Just to expalin more about the complexity: we have several chain taht may interconnect to each other,
Thanks (and sorry not presenting an example: but I need to rebuild the the data).
Meanwhile if you could provide some help will be very appreciated.
Many thanks