Using function Decode inside Decode for Oracle Reports

Has anyone used a decode inside of a decode to get a single record from mulitple records?
Thanks

I've used decode inside of decode to create a view. Then in the report, I used a group by query to combine the records. Let me know if you want to my sql.

Similar Messages

  • How to get an effective EXCEL Spreadsheet as output for Oracle report 10g

    Hi All,
    I am a newbie in Oracle reporting. I am using 10g. I have an oracle report whose output format is PDF from the user interface. User asked for Spreadsheet output. I changed the JAVA CODE "desformat" = Spreadsheet and got the report in Excel. But this report is not as expected as it has many blank cells, misplacements etc and looks really ugly. so Is there anyway to get an excellent spreadsheet as output.
    If anybody needs any more information on this, please let me know.
    Thanks in advance.

    Thank you so much Marwim. Your suggestion is very helpful. But I have some other Oracle reports which have only one .rdf file giving output in both pdf and Excel. This doubt might be silly. Almost same features were existing for the rdf what I am working now. For the remaining reports, it was given that DESFORMAT=SPREADSHEET , what this report lacks. I googled and found these links http://docs.oracle.com/html/B13895_01/orbr_paptoexcel.htm &
    http://docs.oracle.com/html/B13895_01/orbr_paptoexcel.htm#CIHFDJAJ . But they are not intended for excel output. they generate only web layout in spreadsheet form. Could you please suggest any other ways to achieve this.
    Thank you in advacne.
    Edited by: user07960 on Jan 10, 2013 10:47 AM

  • I want to use command line to execute an oracle report?

    Dear all,
    I am using Oracle Application. Does anyone know how to use command line to execute an oracle report?
    I mean execute command from client to server.
    Please advice,
    Amy
    Edited by: amychan60 on Dec 13, 2009 11:33 PM

    Hi,
    Using Oracle Application Server the standard way for a client to request a report is via a HTTP request. This doesn't really lend itself to use directly on a command line on a client however you could use the following:
    explorer "http://your_server/reports/rwservlet?report=report_name.rdf&userid=userid/password@db_sid&paramform=no&destype=FILE&desname=c:\temp\filename.pdf&desformat=pdf"
    This will load explorer and submit that URL for you and request the report. You can change the parameters depending on the report output you require.
    If you need something that is silent (ie doesn't load in explorer) you'll need to investigate other ways of submitting that URL request, perhaps using Java. You could also use SRW.run_report (Event Driven Publishing) to submit the request using SQL.
    Cheers,
    Toby.

  • OCI for Oracle Reports

    Does anyone know if an OCI for Oracle Reports is available for Pro C/C++? If so where is it documented and how is it used?
    Thanks,
    Emad

    user4594420 wrote:
    Oracle7 for windows and OracleClient7 (oci.h, oci.o and others) for linux ?That would imply a really old version of windows (db side) and linux based os (client side). Perhaps SCO Unix was the only certified combination back then.
    You should talk to someone who can verify platform/system requirements.
    For the client side you might want to consider using a later Client release, a more recent old version (e.g. 8.1.7) that could talk to a Oracle7 server and work on your linux platform. There's a interoperability matrix on Metalink/MOS.

  • Can we add Basic Authentication for Oracle Report 10g?

    As we know, Apache supports basic Authentication, and Oracle Report 10g bases on Apache, that means Oracle Report 10g supports Basic Authentication too?
    Can anyone tell me the steps on how to configure Basic Authentication for Oracle Report 10g?
    Thanks for your help in Advance!
    P.S.
    I tried to add the following content to the file "httpd.conf" under the directory "E:\OraHome_2\Apache\Apache\conf\" (I installed report under this folder), but it doesn't work well:
    <Directory "E:\OraHome_2\Apache\Apache\htdocs">
    AuthType Basic
    AuthName "Private Documentation Repository"
    AuthUserFile "C:\Program Files\Apache Software Foundation\Apache2.2\mypasswd"
    Require user yangsun
    </Directory>

    Answers at your duplicated thread --> Some inter view Questions Please give prefect answer  help me

  • Can I use XSQL pages & XSQL Servlet for oracle 7.3 ?

    Can I use XSQL pages & XSQL Servlet
    for oracle 7.3 or not?,if it is possible
    please give me reply.
    Thanks.
    Ramesh Nallapu.

    Can I use XSQL pages & XSQL Servlet
    for oracle 7.3 or not?,if it is possible
    please give me reply.
    Thanks.
    Ramesh Nallapu.
    null

  • Technical Documentation Tool for Oracle reports ---?

    Hello All,
    Are there are any technical documentation tools available for Oracle reports...similar to the one available for Oracle forms(FoReDocLet 1.1). In any kindly specify.
    Thanks & Regards,
    Arun.v

    HI Arun
    where can we get this forms documentation?
    Thankyou
    Sasi

  • SQL for oracle Reports

    Hi, I am having trouble developing an oracle report to return information from several tables. The information to be returned is an aggregate operator "Count" and several fields from the tables. I cannot get the sql to compile without error.
    Does anyone know of a good website for oracle reports design with sql?

    Hi,
    Why not paste the SQL code along with the
    error or send it to : [email protected]
    Naresh
    null

  • Help forum for oracle report builder

    Dear all;
    I have searched all over the oracle website but I cant find a forum for oracle report builder. All help is appreciated.

    Try this forum:
    Reports

  • Avery Label templates for Oracle reports

    Does anyone have or know of pre-defined templates for Oracle
    reports that are setup for Avery Labels?
    Thanks in Advance.
    Chris Schneider
    http://www.awebguru.com
    [email protected]

    I'm sorry, but Pages won't correctly open the Avery templates with the .doc extension. They open, but all the formatting is lost. Just a blank page.
    I tried to chane extension to .template, as suggested by the Pages -Help window. That didn't work either.
    Talk about a daily necessity as a feature.

  • Schema for Oracle Report Developer 10G Course

    Hi All:
    I took the course for "Oracle Reports Developer 10g" but I didn't copy the schema when I took the course.
    Now,I have the book "Oracle Reports Developer 10g: Build Reports Student Guide" but I look over the internet and I can't find the schema for this course.
    I needed the schemas for the following tables:
    CUSTOMERS
    ORDERS
    ORDER_ITEMS
    WAREHOUSES
    INVENTORIES
    PRODUCT_INFORMATION
    PRODUCT_DESCRIPTIONS
    ONLINE_MEDIA
    PRINT_MEDIA
    Any help or hint where I can find the sql scripts for this schema is greatly appreciated it.
    Yours,
    Frustrated.

    duplicate post. Also, check your post in the Reports-forum, there is already an answer.

  • How to use LIKE function with a parameter in Oracle REPORT builder??

    how could i use parameter inside a LIKE function in Oracle reports builder?
    it works in SQL plus, but not in report builder!!
    Example:
    select code,desc from item_master where desc
    like '%&give_desc%'; ---works in SQL
    like '%:give_desc%' ---doesn't work in report builder!!

    Hi Renil,
    You will need to use the wildcard character (%) and the concatenation character (||) to join to your user parameter.
    i.e. like '%'||:give_desc||'%'
    Regards,
    John

  • How to use a table- valued function as a datasource for SSRS report?

    CREATE FUNCTION [dbo].[GetNetSheetRegionNetPerCapitaRow](@WeekBeginDate smalldatetime)
    RETURNS @RegionNetPerCapitaRow TABLE 
    (WTD1 DECIMAL(18,6),PYWTD1 decimal(18,6),percentDiff1 float,diff1 float,WTD2 decimal(18,6),YTD2 decimal(18,6),percentDiff2 float,Diff2 float,YTD3 decimal(18,6),PYTD3 decimal(18,6),percentDiff3 float,Diff3 float)
    how to use the above function as a data source for SSRS report instead of a stored procedure ?

    Hi,
    In the Dataset - > Query Type - >  Text - >
    SELECT * FROM [dbo].[GetNetSheetRegionNetPerCapitaRow](@WeekBeginDate)
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • QMF used for Oracle report

    QMF is tool for DB2 database reports , Can we use this for oracle db reprots? If yes how we can connect QMF with oracle db for reprot generation?

    Hi All,
    I found Solution for my question
    1) Why is there a limit? Why specifically 2 GB?
    The 32-bit file handling API used in Reports uses a signed long integer for
    addressing into any Operating System file. A signed long integer cannot hold
    a value bigger than +2 GB (hex 7FFF,FFFF or decimal 2,147,483,647).
    2) Why can Oracle not use 64 bit API calls to fix this, e.g. _lseeki64 on
    MS Windows 2000?
    _lseeki64 is not available on 32bit Unix Operating Systems, and is therefore
    not used. In any case the internals of Reports is built around a signed long
    integer as explained already. To make such a change even if _lseeki64 was
    available on all 32bit platforms would introduce too big a risk on the
    stability of the product.
    3) Why can Oracle not just use multiple files of 2gb or smaller, as opposed
    to 1 file bigger than 2 GB, for temporary storage?
    Oracle has investigated this in the past, and found a negative performance
    impact. It is not a trivial change to make, and to maintain performance and
    product stability at the same time would indicate a much bigger re-engineering
    effort.
    4) How does one work around this issue?
    Produce several smaller reports as opposed to one monolithic one. This is
    generally done by breaking up the run based on parameters. It is a sound
    idea to do this in any case, as any failure would mean that the whole
    report needs to be rerun. When this happens, it is less of a headache to
    rerun a smaller parameterised report.
    5) What future plans are there to address this?
    Note that our development group has indicated that this is not something
    that they hear much about. It would seem that most users follow the
    methodology as discussed above.
    Thanks,
    Bhanu Chander

  • Sum function do not work in oracle reports enhanced spreadsheet format

    we are using oracle reports 10.1.2.3 in our oracle application server 10gr2 and we are creating enhanced spreed sheet.And the report opens in MS excel fine.But we can not apply any formula like VALUE,SUM,AVG on that report after opening it into excel.First we thought that it may be because of the comma in the number filed.we removed that comma from the filed but t still gives the error "Error in value"

    Hi,
    I hope you already solved this problem, I had the same issue after spending an hour I found the workaround, this is just for the guys who experience the same issue. Try to format your number columns either at database level(not via Report builder property palette) with TO_CHAR(...) OR use this Format Mask at Report level to format your numbers -NNNGNNNGNN0D000(negative sign must be there to avoid space in output Excel).
    Hope it helps,
    Regards,
    Syed Khawar

Maybe you are looking for

  • Zoom with scroll wheel?

    The zooming with scroll wheel feature stopped working after I installed MAC OS X 10.6.  Anyone have a suggestion about how to get that feature working again?  Thanks.

  • Homesite R.I.P

    Macromedia sure knows how to kill a popular and amazing product. WHY not sell the source to a company that cares? PLEASE ALLAIRE TELL ME I'M DREAMING, Tell me that the Devil (Macromedia) did not buy this software from you, just to let it go. GOD DAMN

  • Configuration - Bank chains?

    Hi Friends, Iam working for US client, I want to make the International payments from 1 Bank to another Bank, for example US to France, for this I have to do Bank chain configuration. (Q1) Configuration for Bank Chains step by step flow? (Q2) What is

  • CS5 Pen Tool -- Hover +/- Disabled?

    Hi y'all-- So, in CS5, when I hover over an anchor point my pen tool cursor no longer displays a "-" (minus) sign, nor will it allow me to delete that anchor without having to reach over with my left hand (I use pen/tablet) and hit the minus sign. Sa

  • [SOLVED] Parsing output of pacman -Qm to an bash array

    Hey guys, I'm currently writing a small bash script to check if there are any updates for my packages installed from the AUR. For this I need to get an array from the output of pacman -Qm . I've tried this packages=(`pacman -Qm`) , but this isn't tha