2015年8月7日

SQL 存储过程

摘要: 1、USE [p2p]GO/****** Object: StoredProcedure [dbo].[Proc_BranchCompanyStatistic] Script Date: 2015/8/7 14:55:06 ******/SET ANSI_NULLS ONGOSET QUOT... 阅读全文

posted @ 2015-08-07 14:56 创世无神_攻城狮 阅读(135) 评论(0) 推荐(0)

sql 递归

摘要: --查询所有的部门子IDWITH dept AS ( SELECT * FROM dbo.[T_DepartmentInfo] WHERE [ParentDepId] = @id--Par... 阅读全文

posted @ 2015-08-07 14:55 创世无神_攻城狮 阅读(98) 评论(0) 推荐(0)

导航