Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert the rows to columns

Status
Not open for further replies.

Fatih235

MIS
May 30, 2002
19
US
hello

i have a table called test. This is the table,

test_id test_date test_description
1 1/1/2001 test1
2 2/1/2001 test2
3 3/1/2001 test3

I want to get the results like this,

test_id 1 2 3
test_date 1/1/2001 2/1/2001 3/1/2001
test_description test1 test2 test3


How can i do that? Thank you.


 
Check out these FAQs to see if they help. Good luck!
Crosstab Query - PART I (Code Generator) faq183-5269
Crosstab Query - PART II (Dynamic Execution) faq183-5278


--John [rainbow]
-----------------------------------
Behold! As a wild ass in the desert
go forth I to do my work.
--Gurnie Hallock (Dune)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top