返回多行MSSQL [英] Return multiple rows MSSQL

查看:88
本文介绍了返回多行MSSQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我想要获取数据行,我应该使用什么。

我应该使用视图并执行S​​ELECT * FROM [myview]吗?或者有更好的方法吗?

What should I use if I want to get rows of data.
Should I use view and just do "SELECT * FROM [myview]"? or is there a better way?

推荐答案

是否有类似于它的东西返回多行数据以便我可以省略SELECT语句? / i>

AFAIK,不。无论你使用什么,表,视图还是SP,你都需要在最后有一个SELECT来检索数据。
Is there some kind of thing like them that returns multiple row data so that I can omit the SELECT statement?
AFAIK, No. Whatever you use, table, view or SP, you need to have a SELECT at the end to retrieve data.


这篇关于返回多行MSSQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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