与使用information_schema.columns相比,使用sp_columns的真正好处/区别是什么?
它们返回了一些略有不同的数据,看起来information_schema对我更有用,但我想知道是否有人体验过每种方法的优缺点。
这也可以涵盖sp_tables和information_schema.tables,我想,同样的事情也适用,对吗?
发布于 2013-03-18 17:59:08
信息模式是在SQL标准中定义的,因此可以预期它是可移植的并保持稳定。我倾向于使用information_schema.columns视图。
https://stackoverflow.com/questions/15472898
复制相似问题