set @SQLStr='select count(*) from blog_PContent C left join Emp_Employee E on E.UserLoginID=C.UserLoginID where E.usertype=2'set @SQL=@SQL+'and rtrim(E.UserName)= '''+ rtrim(@UserName) + ''''
怎么查询不出总数来?