How to add meta data to every cell in all tables o

2019-08-21 09:23发布

问题:

I have a relational database (I am using SQL Server 2008) with scores of tables. I need to capture a lot of meta data for each cell (not just the row) in every table. Thankfully, the metadata schema is expected to be consistent across all tables.

Further, the metadata should be queryable as well. I did not some across any such direct support built in.

What is the best possible approach?

回答1:

You may want to look into using SQL Server's extended properties.