首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

查询表中有多少列?该如何解决

2012-01-02 
查询表中有多少列?奇怪怎么老是错的?[解决办法]select count(*) from syscolumns where id object_id( y

查询表中有多少列?
奇怪怎么老是错的?

[解决办法]
select count(*) from syscolumns where id = object_id( 'yourTableName ')

热点排行