>>Any decent SQL client would have a way to retrieve these relationships and even draw diagrams; writing more code to do the same in a way that outputs far less information looks pretty useless to me. Or unfinished... there may have been some idea of traversing the relationship tree and generating some documentation but, again, there are tools out there which already do that.
>
>The code looks very ancient. Possibly the servers those days where not so sophisticated or the coder needs to have it for some reason.
Ancient it is not, or I would have remembered :). It's just kind of medieval.
(for viewers with cheaper tickets and shorter memories, I used to work where Nadia works, 13 years ago)