|
-
Oracle cube/crosstab query
Hi, I am a bit rusty on SQL and have the following problem.
I have a table ObjectData that contains the following fields:
ObjID
ObjCategory
ObjAttribute
ObjValue
For every ObjId there is a set of ObjAttribute 10-15 with corresponding ObjValue. The ObjCategory determins the set of ObjAttribute
Is there a way of making an SQL statement (oracle 9i) that gives the output as columns?
ObjAttribute can be hardcoded in the query if necessary, as the will not change and the attribute names are known
Output should be like this (showing column names)
Thanks in advance
ObjID ObjCategory Attribute1 Attribute2 Attribute3
Similar Threads
-
By Ron Weller in forum Database
Replies: 1
Last Post: 08-24-2007, 07:15 AM
-
By kylemcna in forum ASP.NET
Replies: 5
Last Post: 04-13-2007, 02:23 AM
-
By Mark in forum Database
Replies: 3
Last Post: 07-30-2002, 12:56 PM
-
By Jim Homa in forum VB Classic
Replies: 2
Last Post: 07-21-2000, 04:15 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks