Here is the output from a select statement:
1 select FCAT, TC, TT, VCAT, BOC, ENTRY , ACEV, DESCR, DB, CR, DB2, CR2, DB3, CR3, DB4, CR4, EDAT
2 from fms_glfcat
3 where fcat in ( 'V ' , 'NV')
4 AND ENTRY LIKE '1243%'
5* ORDER BY ENTRY, FCAT
SQL> /
FC TC TT V BOC ENTR ACEV DESCR DB CR DB2 CR2 DB3 CR3 DB4 CR4 EDATE
-- -- -- - ---- ---- ---- ------------------------------ ---- ---- ---- ---- ---- ---- ---- ---- ---
NV VR 35 1243 SP03 REISSUE OF BEN PROCEEDS CHK 2113 2122 4650 490N 11-MAR-08
V VR 35 1243 SP03 REISSUE OF BEN PROCEEDS CHK 2113 2122 4650 490N 11-MAR-08 11-MAR-08
I'm trying to limit the out the number of output records by transposing the FCAT. I looked a number of examples but unable to determine if this can done.
Here is what the output should look like:
FCAT TC TT V BOC ENTR ACEV DESCR DB CR DB2 CR2 DB3 CR3 DB4 CR4 EDATE
------ -- -- - ---- ---- ---- --------------- ---- ---- ---- ---- ---- ---- ---- ---- ---
NV,V , VR 35 1243 SP03 TECK_EXAMPLE 2113 2122 4650 490N 11-MAR-08
There are 42 unique FCATs.
Any assistance would be greatly appreciated.
1 select FCAT, TC, TT, VCAT, BOC, ENTRY , ACEV, DESCR, DB, CR, DB2, CR2, DB3, CR3, DB4, CR4, EDAT
2 from fms_glfcat
3 where fcat in ( 'V ' , 'NV')
4 AND ENTRY LIKE '1243%'
5* ORDER BY ENTRY, FCAT
SQL> /
FC TC TT V BOC ENTR ACEV DESCR DB CR DB2 CR2 DB3 CR3 DB4 CR4 EDATE
-- -- -- - ---- ---- ---- ------------------------------ ---- ---- ---- ---- ---- ---- ---- ---- ---
NV VR 35 1243 SP03 REISSUE OF BEN PROCEEDS CHK 2113 2122 4650 490N 11-MAR-08
V VR 35 1243 SP03 REISSUE OF BEN PROCEEDS CHK 2113 2122 4650 490N 11-MAR-08 11-MAR-08
I'm trying to limit the out the number of output records by transposing the FCAT. I looked a number of examples but unable to determine if this can done.
Here is what the output should look like:
FCAT TC TT V BOC ENTR ACEV DESCR DB CR DB2 CR2 DB3 CR3 DB4 CR4 EDATE
------ -- -- - ---- ---- ---- --------------- ---- ---- ---- ---- ---- ---- ---- ---- ---
NV,V , VR 35 1243 SP03 TECK_EXAMPLE 2113 2122 4650 490N 11-MAR-08
There are 42 unique FCATs.
Any assistance would be greatly appreciated.