首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

with as update 的有关问题

2012-08-22 
with as update 的问题with as rowdata()update rowdataselect rowdata有什么办法实现吗[解决办法]探讨w

with as update 的问题
;with as rowdata()

update rowdata
select rowdata
有什么办法实现吗

[解决办法]

探讨
;with as rowdata()

update rowdata
select rowdata
有什么办法实现吗

[解决办法]
探讨
;with as rowdata()

update rowdata
select rowdata
有什么办法实现吗

[解决办法]
探讨
引用:
;with as rowdata()

update rowdata
select rowdata
有什么办法实现吗

你是这个意思吧?不过你搞得也太省事了吧
可以这样
;with as rowdata()

, tb--这是第二个cte
(
update rowdata --这里执行update语句
)
select * from tb

热点排行