期刊文献+

浅谈T-SQL语言之递归查询 被引量:3

On Recurrence Query of the Language T-SQL
在线阅读 下载PDF
导出
摘要 文章以T-SQL技术为基础,介绍了基于CTE语句进行数据库查询的产生机理和实现方法,并针对CTE语句的特点,采用存储过程及自定义函数方式来实现基于CTE语句查询数据库的过程.以人员管理树型结构数据为基础,在SQL Server 2005中建立各种CTE临时结果集,进行递归查询操作,从而体现T-SQL语言中新增CTE递归查询的强大功能. This Article is based on T-SQL technique. It introduces mechanism and method of using CTE to search a Database. According to the characteristics of CTE, this paper adopts storage processing and definition function to realize the process of searching Database through CTE. With tree data structure of personnel management, it also builds up various temporaryresuh gathers of CTE in SOL Server 2005 to complete the recurrence search operation, so that it shows strong function of recurrence query of CTE in the language of T-SQL.
作者 刘进
出处 《沈阳师范大学学报(自然科学版)》 CAS 2007年第2期217-219,共3页 Journal of Shenyang Normal University:Natural Science Edition
关键词 T-SQL CTE 存储过程 T- SOL CTE storage processing
  • 相关文献

参考文献5

二级参考文献7

共引文献32

同被引文献4

  • 1JeffreyDUllman,JenniferWidom.AFirstCourseinDatabaseSystem(ThirdEdition)[M].北京:机械工业出版社,2008:17—24.
  • 2MSDN使用公用表表达式[EB/OL].http://msdn.microsoft.com/zh-cn/library/msl90766.aspx.
  • 3MSDN使用公用表表达式的递归查询[EB/0L1.http://msdn.microsoft.com/zh—cn/library/msl86243.aspx.
  • 4胡江奕.基于SQL Server的数据库应用系统性能的优化[J].计算机工程与应用,2001,37(2):95-97. 被引量:28

引证文献3

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部