让我们来看一些例子:
复制代码 代码如下:
–获取表的count信息
select count(*) from T with(nolock)
–获取特定值的count信息
select count(*) from T with(nolock)
where v = ‘–value’
–获取表’T’的count信息
select count(*) from T with(nolock)
SELECT * from T –获取表T
Where P
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/234690.html
赞 (0)