摘要:
为了提高效率,不妨写函数来对数据量较大的统计工作,例如: CREATE FUNCTION fun_CountSiteGroupTotal()RETURNS intASBEGIN declare @countNum int select @countNum=Count(*) from Com_Site 阅读全文
摘要:
CREATE PROCEDURE proc_CountSiteGroupByStructure -- Add the parameters for the stored procedure here @structureType int --传递参数ASBEGIN -- SET NOCOUNT ON 阅读全文