您不能将COUNT()函数应用于text,ntext,image数据类型。
为什么不能使用:
select count(*) from list where category like 'action'
?你有空值吗?
如果您不必排除null值,则上述查询已经可以正常使用…

您不能将COUNT()函数应用于text,ntext,image数据类型。
为什么不能使用:
select count(*) from list where category like 'action'
?你有空值吗?
如果您不必排除null值,则上述查询已经可以正常使用…