Are Common Table Expression#39;s (CTE) available in SQL Server 2000(SQL Server 2000 中是否提供公共表表达式 (CTE))
问题描述
我最近发现了以下文章:
I recently found the following article:
http://www.tsqltutorials.com/with-common-table-表达式.php
这篇文章没有列出它在哪个版本的 SQL Server 中可用.这在 SQL Server 2000 中是否有效,如果不能,它在哪个版本中可用?
The article doesn't list which version of SQL server this became available in. Does this work in SQL Server 2000 and if not what is the earliest version that it is usable in?
更新:我确实尝试了一个快速测试,但该测试不起作用.我要求它在 SS2000 中不起作用以确保它不是我或我的设置.
Update: I did try a quick test and the test doesn't work. I'm asking that it doesn't work in SS2000 to ensure it isn't me or my setup.
推荐答案
SQL Server 2005 中引入了常用表表达式.
Common table expressions were introduced in SQL Server 2005.
http://www.simple-talk.com/sql/sql-server-2005/sql-server-2005-common-table-expressions/
这篇关于SQL Server 2000 中是否提供公共表表达式 (CTE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:SQL Server 2000 中是否提供公共表表达式 (CTE)
基础教程推荐
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
- 在多列上分布任意行 2021-01-01
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
- oracle区分大小写的原因? 2021-01-01
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
