tags:

views:

176

answers:

1

using select query convert columns data as particular column only using select query

A: 

I think you are looking for

pivot

statement

The PIVOT operator turns the values of a specified column into column names, effectively rotating a table.

Refer this post

SQL SERVER – PIVOT and UNPIVOT Table Examples

rahul
Wow, you actually understood that question/statement! I couldn't work out what 'rachit' was actually trying to say :P
Timothy Walters
ya it is possible but how to i use it plz instruct me