SQL Server 2008中的%ROWTYPE [英] %ROWTYPE in sql server 2008

查看:443
本文介绍了SQL Server 2008中的%ROWTYPE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我想在SQL SERVER 2008的oracle中使用类似于%ROWTYPE类型的内容,我该怎么办..?在SQL Server 2008中是否有等效于%ROWTYPE的东西... ???

请帮帮我

If I want to use something similar to %ROWTYPE type as in oracle with SQL SERVER 2008, what shall i do..? is there anything equivalent to %ROWTYPE in sql server 2008...???

Please help me out

推荐答案

我认为不可以.
您是否通过Google搜索
I think NO.
Have you Googled this[^]?


SQL Server中没有直接的等效项.

但是您可以声明一个类型为table的变量,然后就可以使用该表.
No direct equivalent is there in SQL server.

But you could declare a variable of type table then you can use this table.


这篇关于SQL Server 2008中的%ROWTYPE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆