As a side, note.. I assume you are already locked into your schema, but column names like RM and PCA are not very good names. "Object" names should be much more descriptive. You might be interested in ISO 11179 for how to name things: http://metadata-standards.org/11179/