if @strWhere !=''
begin: D( @# S' K, p; X4 q( z+ {
set @strSQL = 'select count(*) as Total from [' + @tblName + '] where ' + @strWhere
end; q% B9 ?: Y3 \; ]
else # p B1 A6 b( j) R# w r. c
begin* Z' b5 I/ K* S* c$ e; ?! s
set @strSQL = 'select count(*) as Total from [' + @tblName + ']' 7 L2 B' B8 L1 n/ E$ C
end
欢迎光临 漫潮者,私有云,NAS,新媒体电商.软件开发,商乾 (https://www.aurrel.com/) | Powered by Discuz! X3.5 |