摘要: select count(pid) from m_pics WHERE pPub=1 AND pType=isnull(@pType,pType) AND pPixes=isnull(@pixes,pPixes) 通过isnull来解决 pType=isnull(@pType,pType) 意思是 如果@pType is nu... 阅读全文
posted @ 2008-10-17 14:43 小眼睛老鼠 阅读(510) 评论(0) 推荐(0) 编辑