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 tool windows in sql server management studio? : sql server management studio
Explain unique key in sql server?
Determine how to use the inserted and deleted pseudo tables?
How can windows applications connect to sql servers via odbc?
Is oracle faster than sql server?
How to optimize stored procedure optimization?
Write a SQL queries on Self Join and Inner Join.
You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?
What objects does the fn_my_permissions function reports on? : sql server security
What are the general features of sql server management studio? : sql server management studio
what are user defined datatypes and when you should go for them? : Sql server database administration
Explain primary key in sql server?
How to select some specific columns from a table in a query in ms sql server?
How to download and install microsoft sql server management studio express?
Is t sql the same as sql server?