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 are the differences between ms sql server & oracle?
What is the maximum size of sql server database?
What are indexes in ms sql server?
What's new in sql management studio for sql server? : sql server management studio
What is reference section?
What is the difference between ddl and dml?
What is the tcp/ip port on which sql server runs?
How does index makes search faster?
What are the tables in sql?
What is data modification?
How do you know if sql server is running on your local system?
What happens if time-only values are provided as date and time literals?
How we create SQL Server 2005 Reporting Services ? Give me Sample
Where are stored procedures in sql server?
Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?