Click here to Skip to main content
15,903,385 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted

1 solution

SQL
select column as a,column2 as b from table1


Assigning Result Set Column Names
 
Share this answer
 
Comments
Venkata Durga Rao 18-Apr-14 4:06am    
Above solution is for column name aliasing but i want the each result tale with a speciefied alias name for easy identifiacation

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900