there is a table having two columns no and name
and the data is
1 A
2 B
3 C
write a query that will result a horizontal output
A,B,C
Answer Posted / miller
try using Pivot. for details follow the link
http://msdn.microsoft.com/en-us/library/ms177410.aspx link
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is stored in the mssqlsystemresource database? : sql server database administration
How can i Relate Tables in SSIS
What is read committed?
What is difference statement and preparedstatement?
Explain triggers in sql?
Explain the usage of floor function in sql server.
Why we need sql server?
What is cross join in sql server joins?
what is the information that can be stored inside a bit column? : Sql server database administration
What were the latest updates to SQL Azure service?
What is 2nf example?
What are different types of statement?
Is the log file is a part of file group?
Explain features of analysis services?
Is candidate a key?