摘要: 为了提高效率,不妨写函数来对数据量较大的统计工作,例如: CREATE FUNCTION fun_CountSiteGroupTotal()RETURNS intASBEGIN declare @countNum int select @countNum=Count(*) from Com_Site 阅读全文
posted @ 2017-04-25 17:09 飞刀软件 阅读(149) 评论(0) 推荐(0) 编辑
摘要: CREATE PROCEDURE proc_CountSiteGroupByStructure -- Add the parameters for the stored procedure here @structureType int --传递参数ASBEGIN -- SET NOCOUNT ON 阅读全文
posted @ 2017-04-25 14:53 飞刀软件 阅读(2941) 评论(0) 推荐(0) 编辑