select COUNT(a.name) from sys.all_columns a,sys.tables b where a.object_id=b.object_id and b.name='table_name'
本文共 160 字,大约阅读时间需要 1 分钟。
select COUNT(a.name) from sys.all_columns a,sys.tables b where a.object_id=b.object_id and b.name='table_name'
转载于:https://www.cnblogs.com/hasaki/p/6485171.html