如何将元数据添加到关系数据库的所有表中的每个单元格? [英] How to add meta data to every cell in all tables of a relational database?

查看:93
本文介绍了如何将元数据添加到关系数据库的所有表中的每个单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有关系表的关系数据库(我正在使用SQL Server 2008).我需要为每个表中的每个单元格(不仅仅是行)捕获大量元数据.幸运的是,期望元数据架构在所有表中都保持一致.

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.

什么是最好的方法?

推荐答案

您可能希望使用SQL Server的

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

这篇关于如何将元数据添加到关系数据库的所有表中的每个单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆