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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert Attribute field from Rows into Columns Without Listing Them and No Aggregate 1

Status
Not open for further replies.

kernal

Technical User
Joined
Feb 27, 2001
Messages
415
Location
US
In the future, new attributes could be added to the database so this is why I don't want to list them in a select statement.

Table

ID SUBJECT ATTRIBUTE
1 TEST CN
1 TEST TE
1 TEST AO
2 TESTING
3 PLACE_TEST CN

Results wanted

ID SUBJECT CN TE AO
1 TEST CN TE AO
2 TESTING
3 PLACE_TEST CN

Thank you for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top