Accessing logical columns using metadata table
421376Aug 19 2009 — edited Aug 19 2009Hi,
I have a requirement to store data coming from multiple sources in various format into single table as the number of tables required is not determinable at development phase. Hence I have defined 2 tables,
1. Metadata table storing the information about logical columns in the incoming data.
2. Raw generic table where the actual data would be stored.
While accessible the logical data first I need to access the metadata table to fetch the column details and then access the raw table to provide actual data in those columns. Even though this option is available the code might not remain readable as need to use actual raw table column names in the code.
I have thought of view based access but again number of views required is not known at development time. Is there any option/feature available which would be able to provide logical view for the raw data?
thank you in advance.