Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need to set format for this output

Posted on 2011-02-22
6
Medium Priority
?
269 Views
Last Modified: 2012-05-11
Name
--------------------------------------------------------------------------------
Last Submitted
------------------------
Requestor
--------------------------------------------------------------------------------
Next Scheduled Run         INTERVAL UNIT
------------------------ ---------- ------------------------------
From Previous CCR              S Print to                           Copies
------------------------------ - ------------------------------ ----------
    Req id Parent Req ID
---------- -------------
STATUS
--------------------------------------------------------------------------------
CCR Parameters
--------------------------------------------------------------------------------
 Normal
0
Comment
Question by:columbus131
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 74

Expert Comment

by:sdstuber
ID: 34952823
are you looking for a sql*plus line length limit ?

if so...

set linesize 80
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34953228
What 'format' do you want and from what product?
0
 

Author Comment

by:columbus131
ID: 34953273
SELECT
  user_concurrent_program_name "Name",
  to_char(request_date, 'DD-MON-RR HH24:MI:SS') "Last Submitted",
  u.user_name "Requestor",
  to_char(requested_start_date, 'DD-MON-RR HH24:MI:SS') "Next Scheduled Run",
  fcr.resubmit_interval Interval,
  fcr.resubmit_interval_unit_code Unit,
  fcr.resubmit_interval_type_code "From Previous CCR",
  fcr.save_output_flag "Save Output Files",
  fcr.printer "Print to",
  fcr.number_of_copies "Copies",
  request_id "Req id",
  fcr.parent_request_id "Parent Req ID",
  nvl(meaning, 'UNKNOWN') Status,
  fcr.ARGUMENT_TEXT "CCR Parameters"
FROM
  fnd_concurrent_requests fcr,
  fnd_lookups fl,
  fnd_concurrent_programs_vl fcpv,
  fnd_user u
WHERE
  phase_code = 'P' AND
  (fcr.requested_start_date >= sysdate OR
    status_code = 'P') AND
  LOOKUP_TYPE = 'CP_STATUS_CODE' AND
  lookup_code = status_code AND
  fcr.concurrent_program_id = fcpv.concurrent_program_id AND
  fcr.program_application_id = fcpv.application_id and
  u.user_id=fcr.requested_by
ORDER BY
  request_date,
  request_id;
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34953309
That doesn't tell us what format you want the output in or what product/program is to generate it.
0
 

Author Comment

by:columbus131
ID: 34953380
I need to spool this and sent i need
to know
what colsize
linesize
pages
i need to set for this query
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 total points
ID: 34953421
set lines 100000
set trimspool on
set pages 0
set feedback off
col somecolumnname format a500
--the individual columns need to be set to their max values.
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question