Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: A How-To
Sorry everyone.
cppr:laurab> DESC deltek.GENL_UDEF
Name Null?Type
GENL_ID GENL1_ID S_TABLE_IDUDEF_LBL_KEY UDEF_TXT
------------------------------ ---------- -------------------- ------------ ------------------------ UDEF_ID UDEF_DT UDEF_AMT MODIFIED_BY TIME_STAMROWVERSION COMPANY_ID
-------------------- --------- ---------- -------------------- --------- ---------- ---------- 012228 0 PR 9 21.52 PRCONSULT 19-MAY-050 1
012228 0 PR 31 1430 PRCONSULT 19-MAY-050 1
012228 0 PR 32 0D PRCONSULT 19-MAY-050 1
012228 0 PR 28 014257 PRCONSULT 19-MAY-050 1
012228 0 PR 30 40 PRCONSULT 19-MAY-050 1
012228 0 PR 19 2ND PRCONSULT 19-MAY-050 1
012229 0 PR 9 20.43 PRCONSULT 19-MAY-050 1
012229 0 PR 19 1ST PRCONSULT 19-MAY-050 1
012229 0 PR 28 014348 PRCONSULT 19-MAY-050 1
012229 0 PR 32 4G PRCONSULT 19-MAY-050 1
012229 0 PR 31 600 PRCONSULT 19-MAY-050 1
Each record represents a certain piece of data, i.e. UDEF_LBL_KEY 31 represent Start Time; UDEF_LBL_KEY 32 represents Overtime Project, etc.
So when I select from the table I get a row for each record. What I want is one row which each of the records listed as a column
Empl Id Start Time Overtime Proj =20 012228 1430 0D 012228 600 4G
instead of=20
012228 1430 0D 012228 1430 0D 012229 600 4G 012229 600 4G
Is this more explanatory?? Let me know is more info is needed.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Lex de Haan
Sent: Monday, May 23, 2005 10:49 AM
To: oracle-l_at_freelists.org
Subject: RE: A How-To
From: Lex de Haan [mailto:lex.de.haan_at_naturaljoin.nl]=20
Sent: Monday, May 23, 2005 17:46
To: 'BurtonL_at_frmaint.com'; 'oracle-l_at_freelists.org'
Subject: RE: A How-To
Laura,
please provide some more info -- like a describe of the two tables
involved?
also, showing headings above your query results below, and the queries
themselves, would help enormously :-)
kind regards,
Lex.
=20
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On
Behalf Of Burton, Laura
Sent: Monday, May 23, 2005 17:25
To: oracle-l_at_freelists.org
Subject: A How-To
I have a table which has multiple records for one individual. Each
record
represents a different field, i.e. id 31 represents start time, id 19
represents
shift, id 10 represents rate, etc.
=20
What I want is to have each record to be listed as a column in a select statement so that I have a line that shows the following:
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Mon May 23 2005 - 12:23:24 CDT
![]() |
![]() |