如何将名称分配给sql server中的结果集 [英] how to assign the names to resultsets in sql server
本文介绍了如何将名称分配给sql server中的结果集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在存储过程中
select * from tbal1
select * from table2
select * from table3
i将上面的表格移到应用程序中,我根据表格的索引位置将每个表分配给gridview,当我评论第一个语句然后是位置时保留表的更改和应用程序的影响
in a stored procedure
select * from tbal1
select * from table2
select * from table3
i get the above tables to application ,i assign each table to a gridview basing on index position of table i assigned to the gridview when i comment 1st statement then the positions of remain tables changed and total application effected
推荐答案
select column as a,column2 as b from table1
这篇关于如何将名称分配给sql server中的结果集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文