Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can we write upper case on all the columns present in a table not on data, on header with out using alias names 'as' like column as COLUMN in sql
Posted
Updated 30-Jan-14 22:28pm
v3
Comments
King Fisher 31-Jan-14 4:05am    
what about Alias

1 solution

Try this

SQL
select 'COLUMN1' = Column1,'COLUMN2' = Column2 from TableName
 
Share this answer
 
Comments
Dhritirao's 31-Jan-14 4:29am    
with out hardcoding is there any way
Karthik_Mahalingam 31-Jan-14 5:38am    
you can create a temp table and select the data from that...

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