Case statement in bi publisher 11g Release 1 (11.1.1)

Hi All ,I am new to OBIEE and facing the below issue:
I am adding an element using expression in the existing data set like below:
CASE WHEN 1==1 THEN 0
ELSE 1 END
But getting a below error
Formula: Encountered error parsing "CASE WHEN 1==1 THEN 0 ELSE 1 END". Encountered "WHEN" at column 6. Was expecting one of: "[" ">" "<" "?" "==" "<=" ">=" "!=" "||" "&&" "+" "-" "*" "/" "%" "^" . null
Plese help:what is the root cause of it?
Also in the list of available functions i am not seeing any 'CASE' function,is it not supported ?
And  what about 'IF then Else' statement ,is it supported?

The two major areas of work in 11gR1 (11.1.1.1.0) are enhancements to EclipseLink included with the its 1.1.1 release as well as enhancements around TopLink Grid (JPA-Coherence integration).
The EclipseLink 1.1.1 fixes are documented here: http://wiki.eclipse.org/EclipseLink/Release/1.1.1
Doug

Similar Messages

  • BI Publisher 11g released

    Just wanted to let you know - did see any posts yet
    http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bus-intelligence-11g-165436.html
    This allows you to either install the integrated BI EE or only standalone BI Publisher.
    If you haven't need to download RCU first (at the bottom of page).
    Unfortunately, RCU requires a very recent 11g database to install the schema.
    In case somebody posted before - never mind.
    Klaus

    First, make sure you've got enough machine resources as BIEE11g is resources hungry.
    Next, after installation you should have icons to start BIEE11g (try windows version as it is easier to start up).
    Run the startBIEE11g script and it will take some minutes, be patient. Once you get all processes running
    then you can try to login.
    Take a look at my post:
    http://oraclebiblog.blogspot.com/2010/11/starting-and-stopping-biee-from-command.html
    Good luck
    regards
    Jorge

  • Reg-BI Publisher 11g login

    Hi I am new to BI Publisher
    Installed BI Publisher that comes with OBIEE11g
    After I punch in my URL it is not popping !! throws error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    My service is down in Enterprise manager not sure how to turn on and looking for log related to error
    I am using same port no that Analytics url is using!!
    Please throw some inputs

    Hello,
    Did you change any configuration for BI Publisher that made the service go down or integrate or something ..? Check bipublisher.log , sawlog too
    If not then you can always restart this Application Deployments > bipublisher(11.1.1) (bi_cluster) > bipublisher(11.1.1) (bi_server1) > Control > Startup
    Also its a good idea to create a super first before changing any configuration in BI Publisher.
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22255.pdf - Oracle Fusion MiddlewareAdministrator's Guide for Oracle Business Intelligence Publisher 11g Release 1
    Hope this help. Mark if it does.
    Thanks,
    SVS

  • 11g outer join with case statement - strange results.

    Hello All,
    I am experiencing a strange issues in 11g while using case statement.
    I am not able to reproduce this using sample data. Not sure what is wrong.
    I am not narrowing it to say the usage of case statemnt is giving wrong results, but that is my observation when I am doing trail and error testing.
    Here are the details.
    My Version
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL> My Query
    SELECT *
      FROM (SELECT DISTINCT mf.schedule,
                            mf.cptcode,
                            NVL (mf.modifier, '00') modifier2,
                            CASE
                               WHEN mf.feetype = 'H'
                                AND mf.multiplier IS NOT NULL THEN
                                  '      0.00'
                               WHEN (mf.feetype != 'H'
                                  OR  mf.feetype IS NULL)
                                AND mf.rbrvsvalue IS NOT NULL
                                AND mf.multiplier IS NOT NULL THEN
                                  LPAD ( TRIM (TO_CHAR ( (mf.rbrvsvalue * mf.multiplier) / 100, 9999999.99)), 10)
                               ELSE
                                  NULL
                            END
                               fee
              FROM provider.mpifee mf, mpi_udffee.udffeeactivecptcodes vld
             WHERE mf.schedule = 'SAPG1'
               AND mf.cptcode = vld.cptcode
               AND NVL (mf.modifier, 'NULL') = NVL (vld.modifier, 'NULL')) inline_fee,
           (SELECT arc.schedule col1, arc.procedurecode col2, NVL (arc.modifier, '00') AS col3
              FROM mpi_udffee.udffeeancfeedata arc
             WHERE monthofextract = '201202'
               AND arc.schedule = 'SAPG1'
               AND TRUNC (SYSDATE - 10) BETWEEN arc.recordeffectivedate AND arc.recordterminationdate) inline_data
    WHERE inline_fee.schedule = inline_data.col1(+)
       AND inline_fee.cptcode = inline_data.col2(+)
       AND inline_fee.modifier2 = inline_data.col3(+);
    In the above query the inline view inline_data returns zero rows. but NVL is still getting applied for col3 and I am getting 00 in the results( strange ).
    Results:
    SCHEDULE        CPTCO MODIFIER2  FEE             COL1  COL2  COL3
    SAPG1           49590 00             667.32                  00
    SAPG1           49611 00             781.03                  00
    SAPG1           49905 00             443.79                  00
    SAPG1           50205 00             883.56                  00
    SAPG1           50220 00            1315.15                  00
    SAPG1           50230 00            1638.74                  00
    SAPG1           50234 00            1666.16                  00
    SAPG1           50250 00            1566.14                  00
    SAPG1           50327 00             262.04                  00
    SAPG1           50541 00            1183.31                  00
    SAPG1           50620 00            1156.88                  00
    SAPG1           50650 00            1321.96                  00
    497 rows selected.
    Just the inline view inline_data,
    SQL> SELECT arc.schedule col1, arc.procedurecode col2, NVL (arc.modifier, '00') AS col3
      2            FROM mpi_udffee.udffeeancfeedata arc
      3           WHERE monthofextract = '201202'
      4             AND arc.schedule = 'SAPG1'
      5             AND TRUNC (SYSDATE - 10) BETWEEN arc.recordeffectivedate AND arc.recordterminationdate;
    no rows selectedMuch unusual thing is when I just remove the case statement from the inline view "inline_fee", I am getting right results,
    SELECT *
      FROM (SELECT DISTINCT mf.schedule,
                            mf.cptcode,
                            NVL (mf.modifier, '00') modifier2          <-- Removed Case statement here
              FROM provider.mpifee mf, mpi_udffee.udffeeactivecptcodes vld
             WHERE mf.schedule = 'SAPG1'
               AND mf.cptcode = vld.cptcode
               AND NVL (mf.modifier, 'NULL') = NVL (vld.modifier, 'NULL')) inline_fee,
           (SELECT arc.schedule col1, arc.procedurecode col2, NVL (arc.modifier, '00') AS col3
              FROM mpi_udffee.udffeeancfeedata arc
             WHERE monthofextract = '201202'
               AND arc.schedule = 'SAPG1'
               AND TRUNC (SYSDATE - 10) BETWEEN arc.recordeffectivedate AND arc.recordterminationdate) inline_data
    WHERE inline_fee.schedule = inline_data.col1(+)
       AND inline_fee.cptcode = inline_data.col2(+)
       AND inline_fee.modifier2 = inline_data.col3(+);
    SCHEDULE        CPTCO MODIFIER2  COL1  COL2  COL3
    SAPG1           46730 00
    SAPG1           46735 00
    SAPG1           46748 00
    SAPG1           46760 00
    SAPG1           46942 00
    SAPG1           46945 00
    SAPG1           47015 00
    SAPG1           47125 00
    SAPG1           47350 00
    SAPG1           47505 00
    SAPG1           47553 00interestingly explain plan for both the statements are exactly same,
    SELECT STATEMENT  ALL_ROWSCost: 138  Bytes: 1,078,274  Cardinality: 11,471                                
         9 HASH JOIN RIGHT OUTER  Cost: 138  Bytes: 1,078,274  Cardinality: 11,471                           
              2 PARTITION RANGE EMPTY  Cost: 2  Bytes: 150  Cardinality: 3                      
                   1 TABLE ACCESS FULL TABLE MPI_UDFFEE.UDFFEEANCFEEDATA Cost: 2  Bytes: 150  Cardinality: 3                 
              8 VIEW MPI_UDFFEE. Cost: 135  Bytes: 504,724  Cardinality: 11,471                      
                   7 HASH UNIQUE  Cost: 135  Bytes: 539,137  Cardinality: 11,471                 
                        6 HASH JOIN  Cost: 134  Bytes: 539,137  Cardinality: 11,471            
                             3 TABLE ACCESS FULL TABLE MPI_UDFFEE.UDFFEEACTIVECPTCODES Cost: 13  Bytes: 177,345  Cardinality: 25,335       
                             5 PARTITION LIST SINGLE  Cost: 120  Bytes: 600,600  Cardinality: 15,015  Partition #: 8       
                                  4 INDEX RANGE SCAN INDEX (UNIQUE) REPRICE.PK_MPIFEE Cost: 120  Bytes: 600,600  Cardinality: 15,015  Partition #: 9  Partitions accessed #11Is there anything wrong with the query? If not have anyone come across this issue or posted it as a bug or is there a patch?
    Update:
    when I set the parameter "_complex_view_merging"=false I am getting the right results even with case statement. But I don want to do some thing unsupported.
    Are there any other viable solutions?
    I appreciate the help.
    Thanks,
    G.
    Edited by: Ganesh Srivatsav on Apr 10, 2012 12:37 PM

    Hi Tubby,
    Right, the query transformation is going wrong. Following is from trace,
    SELECT "INLINE_FEE"."SCHEDULE" "SCHEDULE",
           "INLINE_FEE"."CPTCODE" "CPTCODE",
           "INLINE_FEE"."MODIFIER2" "MODIFIER2",
           "INLINE_FEE"."FEE" "FEE",
           "ARC"."SCHEDULE" "COL1",
           "ARC"."PROCEDURECODE" "COL2",
           CASE
              WHEN "ARC".ROWID IS NOT NULL THEN NVL ("ARC"."MODIFIER", '00')
              ELSE NULL
           END
              "COL3"
      FROM (SELECT DISTINCT "MF"."SCHEDULE" "SCHEDULE",
                            "MF"."CPTCODE" "CPTCODE",
                            NVL ("MF"."MODIFIER", :B2) "MODIFIER2",
                            CASE
                               WHEN ("MF"."FEETYPE" = :B3
                                 AND "MF"."MULTIPLIER" IS NOT NULL) THEN
                                  :B4
                               WHEN ( ("MF"."FEETYPE" <> :B5
                                    OR  "MF"."FEETYPE" IS NULL)
                                 AND "MF"."RBRVSVALUE" IS NOT NULL
                                 AND "MF"."MULTIPLIER" IS NOT NULL) THEN
                                  LPAD ( TRIM (TO_CHAR ( "MF"."RBRVSVALUE" * "MF"."MULTIPLIER" / :B6, :B7)), :B8)
                               ELSE
                                  NULL
                            END
                               "FEE"
              FROM "PROVIDER"."MPIFEE" "MF", "MPI_UDFFEE"."UDFFEEACTIVECPTCODES" "VLD"
             WHERE "MF"."SCHEDULE" = 'SAPG1'
               AND "MF"."CPTCODE" = "VLD"."CPTCODE"
               AND NVL ("MF"."MODIFIER", 'NULL') = NVL ("VLD"."MODIFIER", 'NULL')) "INLINE_FEE",
           "MPI_UDFFEE"."UDFFEEANCFEEDATA" "ARC"
    WHERE "INLINE_FEE"."SCHEDULE" = "ARC"."SCHEDULE"(+)
       AND "INLINE_FEE"."CPTCODE" = "ARC"."PROCEDURECODE"(+)
       AND "INLINE_FEE"."MODIFIER2" = CASE
                                         WHEN ("ARC".ROWID(+) IS NOT NULL) THEN NVL ("ARC"."MODIFIER"(+), '00')
                                         ELSE NULL
                                      END
       AND "ARC"."MONTHOFEXTRACT"(+) = '201202'
       AND "ARC"."SCHEDULE"(+) = 'SAPG1'
       AND TRUNC (SYSDATE-10) >= "ARC"."RECORDEFFECTIVEDATE"(+)
       AND TRUNC (SYSDATE-10) <= "ARC"."RECORDTERMINATIONDATE"(+)Does this refer to a specific bug?
    Thanks,
    G.

  • Case Statement in sub query

    Hi, I have two issues, here is my initial code:
    select
    cc.name_id_no
    ,cc.discover_date
    ,cc.cla_case_no
    ,max(rl.year_of_incident)Non_Loss_Past_5
    ,rl.timestamp
    from cla_case cc, rbn_loss rl
    where cc.name_id_no = rl.customer_no
    and rl.year_of_incident < trunc(cc.discover_date)
    and rl.type_of_loss < 1000
    and rl.timestamp < trunc(cc.discover_date)
    and (cc.question_class = 20
    or cc.question_class = 25)
    and (trunc(cc.discover_date)- (rl.year_of_incident)) < 1095
    --and (trunc(cc.discover_date) <> (rl.year_of_incident))
    group by cc.cla_case_no,name_id_no, cc.discover_date,rl.timestamp
    Now a cla_case_no can map to several year_of_incident. I only want the cla_case_no that maps to the max year_of_incident ie There should only be a single cla_case_no corresponding to the max year_of_incident.
    To get around this I did the following which is not very efficient and I'm hoping it can be improved:
    select distinct z.cla_case_no from (
    select
    cc.name_id_no
    ,cc.discover_date
    ,cc.cla_case_no
    ,max(rl.year_of_incident)Non_MW_Loss_Past_5
    ,rl.timestamp
    from cla_case cc, rbn_loss rl
    where cc.name_id_no = rl.customer_no
    and rl.year_of_incident < trunc(cc.discover_date)
    and rl.type_of_loss < 1000
    and rl.timestamp < trunc(cc.discover_date)
    and (cc.question_class = 20
    or cc.question_class = 25)
    and (trunc(cc.discover_date)- (rl.year_of_incident)) < 1095
    --and (trunc(cc.discover_date) <> (rl.year_of_incident))
    group by cc.cla_case_no,name_id_no, cc.discover_date,rl.timestamp
    ) z
    Now comes the second issue: The above is actually a subquery that will link to a bigger table via cla_case_no ccx
    SELECT
    ie ,(select distinct z.cla_case_no from (
    select cc.name_id_no, cc.discover_date ,cc.cla_case_no, max(rl.year_of_incident)Non_MW_Loss_Past_5, rl.timestamp
    from cla_case cc, rbn_loss rl
    where cc.name_id_no = rl.customer_no
    and rl.year_of_incident < trunc(cc.discover_date)
    and rl.type_of_loss < 1000
    and rl.timestamp < trunc(cc.discover_date)
    and (cc.question_class = 20
    or cc.question_class = 25)
    and (trunc(cc.discover_date)- (rl.year_of_incident)) < 1095
    --and (trunc(cc.discover_date) <> (rl.year_of_incident))
    group by cc.cla_case_no,name_id_no, cc.discover_date,rl.timestamp
    ) z
    where z.cla_case_no = ccx.cla_case_no
    ) Non_MW_Loss_Past_5
    FROM etc
    Now only certain cc.cla_case_no from the subquery will corresp to the ccx_cla_case_no from the main table and the other entries will be null.
    What I require is that if the subquery returns a result that IS NOT NULL to return 'Y' ELSE 'N' instead of the varies cla_case_no's and (null) entries in the Non_MW_Loss_Past_5 column
    Thanks!!!
    Banner:
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    Hi,
    It looks like you have another copy of this question:
    Case Statement and sub query
    That's probably not your fault, but you should mark the other copy as "Answered" right away, and then you'll only have to look for replies in one place.
    885178 wrote:
    ... Now a cla_case_no can map to several year_of_incident. I only want the cla_case_no that maps to the max year_of_incident ie There should only be a single cla_case_no corresponding to the max year_of_incident.If you know there will only be one, then you can use LAST, and you don't need GrOUP BY
    To get around this I did the following which is not very efficient and I'm hoping it can be improved:
    select distinct z.cla_case_no from (
    select
    cc.name_id_no
    ,cc.discover_date
    ,cc.cla_case_no
    ,max(rl.year_of_incident)Non_MW_Loss_Past_5
    ,rl.timestamp
    from cla_case cc, rbn_loss rl
    where cc.name_id_no = rl.customer_no
    and rl.year_of_incident < trunc(cc.discover_date)
    and rl.type_of_loss < 1000
    and rl.timestamp < trunc(cc.discover_date)
    and (cc.question_class = 20
    or cc.question_class = 25)
    and (trunc(cc.discover_date)- (rl.year_of_incident)) < 1095
    --and (trunc(cc.discover_date) <> (rl.year_of_incident))
    group by cc.cla_case_no,name_id_no, cc.discover_date,rl.timestamp
    ) zHere's one way:
    SELECT       MIN (cla_case_no) KEEP (DENSE_RANK LAST ORDER BY r1.year_of_incident)
                         AS latest_cla_case_no
    FROM       cla_case     cc
    ,             rbn_loss      rl
    WHERE     cc.name_id_no          = rl.customer_no
    AND       rl.year_of_incident     > TRUNC (cc.discover_date) - 1095
    AND       rl.year_of_incident      < TRUNC (cc.discover_date)
    AND       rl.type_of_loss     < 1000
    AND       rl.timestamp          < TRUNC (cc.discover_date)
    AND       cc.question_class     IN (20, 25)
    ;If you'd post some sample data (CREATE TABLE and INSERT statements) and the results you want from that data, then I could test this.
    Now comes the second issue: The above is actually a subquery that will link to a bigger table via cla_case_no ccx
    SELECT
    ie ,(select distinct z.cla_case_no from (
    select cc.name_id_no, cc.discover_date ,cc.cla_case_no, max(rl.year_of_incident)Non_MW_Loss_Past_5, rl.timestamp
    from cla_case cc, rbn_loss rl
    where cc.name_id_no = rl.customer_no
    and rl.year_of_incident < trunc(cc.discover_date)
    and rl.type_of_loss < 1000
    and rl.timestamp < trunc(cc.discover_date)
    and (cc.question_class = 20
    or cc.question_class = 25)
    and (trunc(cc.discover_date)- (rl.year_of_incident)) < 1095
    --and (trunc(cc.discover_date) <> (rl.year_of_incident))
    group by cc.cla_case_no,name_id_no, cc.discover_date,rl.timestamp
    ) z
    where z.cla_case_no = ccx.cla_case_no
    ) Non_MW_Loss_Past_5
    FROM etc
    Now only certain cc.cla_case_no from the subquery will corresp to the ccx_cla_case_no from the main table and the other entries will be null.
    What I require is that if the subquery returns a result that IS NOT NULL to return 'Y' ELSE 'N' instead of the varies cla_case_no's and (null) entries in the Non_MW_Loss_Past_5 column
    NVL2 (x, 'Y', 'N')returns 'Y' if x is NULL, and it returns 'N' if x is not NULL. X can be a scalar sub-query:
    NVL2 ((SELECT ...), 'Y', 'N')You could also use an EXISTS sub-query:
    CASE
        WHEN  EXISTS (SELECT ...)
        THEN  'Y'
        ELSE  'N'
    END

  • Case Statement in a Where clause help

    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    "CORE     11.2.0.1.0     Production"
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Hello,
    I have an APEX application that I need to build a SQL statement for a LOV (List of Values). I have a hidden filed that contains the customer type which can be an 'R' or 'B'. The query needs to be able to display two different result sets based on the customer type of 'R' or 'B'.
    If the customer type is 'R' then:
    SELECT drg_descr d, drg_code r
    FROM distance_ranges
    WHERE  drg_min_miles IN (0,5)
    ORDER BY drg_min_milesIf the customer type is 'B' then:
    SELECT drg_descr d, drg_code r
    FROM distance_ranges
    WHERE  drg_min_miles IN (0,5,10,15,20)
    ORDER BY drg_min_milesCan someone help me with what I think needs to be a case statement?
    Thanks,
    Joe

    Hi,
    You can try CASE statement with WHERE clause
    SELECT drg_descr d, drg_code r
    FROM distance_ranges
    WHERE (CASE param_cust_type
    WHEN(param_cust_type='R') THEN (drg_min_miles IN (0, 5)
    WHEN (param_cust_type='B') THEN (drg_min_miles IN (0,5,10,15,20)
    END;
    Please try and let me know if anything wrong.
    Anyone from the forum comment my code if there is any wrong.
    Thanks!
    Naresh

  • Creating view containing case statements received error ORA-22992

    We have a create view referencing table through dblink. The select statement in the create view has case statements, when running the Select statement alone, results are return. However, when executing the create view, it returns:
    SQL Error: ORA-22992: cannot use LOB locators selected from remote tables
    22992. 00000 - "cannot use LOB locators selected from remote tables"
    *Cause:    A remote LOB column cannot be referenced.
    *Action:   Remove references to LOBs in remote tables.
    One of the source table has LOB column but not in the select statement. The strange thing is when removing the case statement from the select, create view works fine. Can anybody tell me what caused the error and how to fix it?
    Create View Snippet:
    CREATE OR REPLACE VIEW "ABC"."XYZ" (....
    AS SELECT
    CASE
    WHEN A.OUTAGE =1
    THEN 'Y'
    ELSE 'N'
    END AS OUTAGE,
    FROM
    TABLEA@XXXX A
    LEFT JOIN TABLEB@XXXX B
    ON
    A.LOC =B.LO
    AND A.SITE =B.SITE
    WHERE
    A.CLASS ='CUSTOMER'
    AND A.PLUSSISGIS =1;

    What is your 4 digit Oracle version?
    Try rewriting the query to not use ANSI SQL92 joins. I found a link where this solved a problem similar to yours.
    DBLink problem ORA-22992
    >
    But, look at this curious thing: I re-write the query as follows:
    SELECT A.ID, A.ID_REF, A.EVENDATE, B.DESCRIPTION
    FROM A@ORCL A, B@ORCL B
    WHERE A.ID_REF = B.ID_REF;
    and it works fine... It seems like Oracle don't like the ANSI SQL92...
    >
    Several similar links by googling: 'SQL Error: ORA-22992'
    http://www.dbuggr.com/smallwei/solution-error-ora-22992-lob-locators-selected-remote-tabl/
    >
    Fixing ORA-22992 “cannot use LOB locators selected from remote tables” error
    You have migrated your Oracle 9i database to 10g and a distributed statement which worked fine in 9i now is getting error ORA-22992 “cannot use LOB locators selected from remote tables”. Even though the related remote table(s) does not contain any LOB column datatype.
    FIX:
    There is a bug on 9i,10g, and 11g that is related to this error. It is being fixed in 11.2. It can also be backported for previous 9i, 10g and 11g releases under the latest patchsets.
    You may also do a workaround as follow:
    Modify the affected SQL by adding the TO_CHAR function. For example:
    -- Original SQL:
    SELECT NVL2('a', 'b','c' ) FROM dual@remote_db;
    -- Modified SQL:
    SELECT TO_CHAR(NVL2('a','b','c')) FROM dual@remote_db;
    >
    See if that helps.

  • Case Statement and Group By issues

    Hi this is my initial query which works perfectly:
    select ff.cla_case_no, Cost_before_Decision, Cost_Of_Claim, decline, Decline_Description from
    fraud_nov_14_final ff
    ,(select cla_case_no, (sum(total_cost_adj_old) + sum(decline_estimate)) Cost_before_Decision
    from reporting.ci_final@test
    group by cla_case_no) z
    where ff.cla_case_no = z.cla_case_noI now want to add in a condition based on a column called decline:
    select ff.cla_case_no, Cost_before_Decision, Cost_Of_Claim, ff.decline, Decline_Description from
    fraud_nov_14_final ff
    ,(select cla_case_no, (case when decline = 1 or decline = 2  THEN (sum(total_cost_adj_old) + sum(decline_estimate)) ELSE Total_Cost END) Cost_before_Decision
    from reporting.ci_final@test
    group by cla_case_no) z
    where ff.cla_case_no = z.cla_case_noThe error message I receive is :
    ORA-00979: not a GROUP BY expression
    00979. 00000 - "not a GROUP BY expression"
    Thanks in advance for your help!!
    Banner:
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    You would need DECLINE in the group by clause of your inner query.
    Additionally you would need to change TOTAL_COST to SUM(TOTAL_COST) in where case statement.
    But then you would retrieve one row for each value of DECLINE in this query.
    You also could use this:
    (I don't know if it will meet your requirements)
    SELECT ff.cla_case_no,
                     cost_before_decision,
                     cost_of_claim,
                     ff.decline,
                     decline_description
      FROM fraud_nov_14_final ff,
                     (SELECT   cla_case_no,
                               SUM (decode(decline,1,total_cost_adj_old+decline_estimate,
                                                   2,total_cost_adj_old+decline_estimate,
                                                   total_cost))  cost_before_decision
                                    FROM reporting.ci_final@test
                      GROUP BY cla_case_no) z
    WHERE ff.cla_case_no = z.cla_case_no;(untested code, because I don't have your tables)
    Edited by: hm on 23.11.2011 06:52

  • T-sql case statement in a select

    When I execute the following t-sql 2012 statement, the "NO Prod' value is not
    being displayed from the sql listed below:
    SELECT DISTINCT
    IsNull(cs.TYPE,'') as type,
    CASE IsNull(Course.TYPE,'')
    WHEN 'AP' then 'AP Prod'
    WHEN 'IB' then 'IB Prod'
    WHEN 'HR' then 'HR Prod'
    WHEN '' then 'NO Prod'
    END AS label
    FROM CustSection cs
    INNER JOIN dbo.Person p on P.personID = cs.personID
    Left join customCustomer cs564 on cs564.personID = p.personID and
    cs564.attributeID ='564'
       where ( cs.type is null and cs564.attributeID = null)    
         or
        (cs.type IN ('HR','AP') OR
          (cs.type='IB' AND SUBSTRING(cs.code,1,1)='3'))  
    ORDER BY label
    What I want is for 'NO Prod' to be displayed when
    cs.type is null and cs564.attributeId  is null.
    Thus can you tell me how to fix query above so the 'NO Prod'  value is displayed in the
    select statement listed above?

    There is no CASE statement in SQL; we have a CASE expression. We do not use the old 1970's Sybase*- ISNULL(); we have  COALESCE().
    There is no such thing as a magic generic “type” in RDBMS. There is no such thing as a generic “code” in RDBMS. They have to to be “<something in particular>_type” and “<something in particular>_code” in a valid data model. How about blood_type
    and postal_code?? 
    There is no such thing as a generic “person” table in RDBMS. First of all, do you really have only one person, as you said?? But the important point is that these persons play a role in the data model – customers, students, etc. You are doing the wrong thing
    and doing it badly.  This table should not exist any more than a  table of “Things” such exist. 
    And the reason you are beyond any real help is “attribute_id” which tell us that your schema is a total disaster of data and meta data mixed together in a non-RDBMS written in awful SQL. Based on cleaning up bad SQL for 30 years, it looks like you are an OO
    programmer who never unlearned his prior mindset. 
    Why did you allow an encoding schema with blanks? Why do you have so many NULL-able columns? 
    SELECT DISTINCT is very rare in a properly designed schema. The DRI references assure that rows cam be matched. To get you started, look at this skeleton:
    CREATE TABLE Products
    (product_gtin CHAR(15) NOT NULL PRIMARY KEY, 
     product_type CHAR(2) DEFAULT 'XX' NOT NULL
      CHECK (product_type IN ('AP', 'IB', 'HR', 'XX'))
    The table name is a plural noun because it models a set (NOT an OO class).
    The GTIN is an industry standard identifiers, and not have to invent our own.
    The product_type (not blood_type, not automobile_body_type!) has a constraint that assures it is never NULL and never blank; I invented 'XX' as a default. 
    You need more help than you can get in a forum, but if you will follow Netiquette and post the DDL, we can get you started.
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • CASE Statement in a SELECt

    I want to do something like this in a SELECT where I set the value of one field based on another. Is this possible. If not are there any alternatives? Thanks
    CASE WHEN [var_cpnt_brkpt_ct] = '0' THEN [enrc_cpnt_var_price_rt] = '0'

    There is no CASE statement in SQL; we are a  declarative language. We have a case expression! There is no control flow, like you are trying to write. You do not even know that fields are columns. This is as silly
    as asking for the color the feathers on a fish. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking in
    Sets / Trees and Hierarchies in SQL
    Thank you for your support. Good day Sir.

  • Oracle database 11g release 2 installation problem on windows 7 (64-bit)

    First of all my windows is not genuine, but on my friend's desktop oracle download and installation  worked fine, he chose "create and configure database" options, and it works very well on his desktop, though his windows is also illegitimate. In my case, when I select "Create and configure database" option and pressed 'next",
    (Go to my blog to see it with snapshots: Computer Science: Oracle database 11g release 2 installation problem on windows 7 (64-bit))
    it asks to select class, I select "Desktop class" and pressed "next". The moment I pressed "next", the whole setup thing disappeared like it was never started. I searched for all possible reasons for why its not getting installed on my laptop, I used registry cleaner s/w,  deleted 25 GB of data to create free space if it were the problem, increased the virtual memory to increase the space for RAM, I did almost everything to get this setup working, but I found no success with the "Create and Configure database" option
    and
    then
    I chose a "database software only" option and chose to store in a folder w/o spaces. This way, I got database s/w only and then later I found "Database configuration Assistant (DBCA)"  from windows START button and clicked to create and configure database manually. The steps are pretty much interactive and doesn't involve much brainstorming.
    The values I filled for
    1) Global Database Name :  orcl
    2) System Identifier : orcl
    3) I chose common password for both SYS and SYSTEM
    4) while on Enterprise Manager Configuration step, It asked me to create and configure listener in oracle home, so for that too, I typed "netca" in windows START menu and clicked it. There I added a listener.
    5) I chose a Storage area which was the Oracle-home itself i.e. where our installation files goes , in my case it is : C:\oracle_base\product\11.2.0\dbhome_1\oradata
    6) Then after few more nitty-gritty clicks, we are set to go !
    Finally to write SQL code and to create your first TABLE , type "sqlplus" in windows "START" menu and click it when it appears. A command-prompt like window appears , which will ask you for username and password, so here they are :
    Username : sys/ as sysdba
    Password : (its the one you created in step 3 stated above )
    After this you are ready to write your first SQL command.

    Is this your solution to your original post at Oracle database 11g release 2 installation on windows 7 (64-bit) ?
    Pl be aware that you should not create any custom objects in SYS or SYSTEM schema - you should create any such objects in a separate custom schema.
    About Database Administrator Security and Privileges

  • CASE STATEMENTS AND CASE EXPRESSIONS IN ORACLE9I PL/SQL

    제품 : PL/SQL
    작성날짜 : 2001-11-13
    CASE STATEMENTS AND CASE EXPRESSIONS IN ORACLE9I PL/SQL
    =======================================================
    PURPOSE
    아래의 자료는 Case 문에서 oracle 8.1.7과 Oracle 9i의 New Feature로 8.1.7에서는
    sqlplus 에서만 가능했고, 9i 부터는 pl/sql 까지 가능하다.
    Explanation
    1. Oracle 8.1.7 Feature
    Oracle 8.1.7 에서 Case 문은 Decode 문과 유사하지만, 기존의 decode 문을 쓰는 것보다
    더 많은 확장성과 Logical Power와 좋은 성능을 제공한다. 주로 나이와 같이 category 별로
    나눌때 주로 사용하고 Syntex는 아래와 같다.
    CASE WHEN <cond1> THEN <v1> WHEN <cond2> THEN <v2> ... [ELSE <vn+1> ] END
    각각의 WHEN...THEN 절의 argument 는 255 까지 가능하고 이 Limit를 해결하려면
    Oracle 8i Reference를 참조하면 된다.
    The maximum number of arguments in a CASE expression is 255, and each
    WHEN ... THEN pair counts as two arguments. To avoid exceeding the limit of 128 choices,
    you can nest CASE expressions. That is expr1 can itself be a CASE expression.
    Case Example : 한 회사의 모든 종업원의 평균 봉급을 계산하는데 봉급이 $2000보다 작은경우
    2000으로 계산을 하는 방법이 pl/sql을 대신하여 case function을 사용할 수 있다.
    SELECT AVG(CASE when e.sal > 2000 THEN e.sal ELSE 2000 end) FROM emp e;
    Case Example : 나이를 column으로 가지고 있는 customer table을 예로 들어보자.
    SQL> SELECT
    2 SUM(CASE WHEN age BETWEEN 70 AND 79 THEN 1 ELSE 0 END) as "70-79",
    3 SUM(CASE WHEN age BETWEEN 80 AND 89 THEN 1 ELSE 0 END) as "80-89",
    4 SUM(CASE WHEN age BETWEEN 90 AND 99 THEN 1 ELSE 0 END) as "90-99",
    5 SUM(CASE WHEN age > 99 THEN 1 ELSE 0 END) as "100+"
    6 FROM customer;
    70-79 80-89 90-99 100+
    4 2 3 1
    1 SELECT
    2 (CASE WHEN age BETWEEN 70 AND 79 THEN '70-79'
    3 WHEN age BETWEEN 80 and 89 THEN '80-89'
    4 WHEN age BETWEEN 90 and 99 THEN '90-99'
    5 WHEN age > 99 THEN '100+' END) as age_group,
    6 COUNT(*) as age_count
    7 FROM customer
    8 GROUP BY
    9 (CASE WHEN age BETWEEN 70 AND 79 THEN '70-79'
    10 WHEN age BETWEEN 80 and 89 THEN '80-89'
    11 WHEN age BETWEEN 90 and 99 THEN '90-99'
    12* WHEN age > 99 THEN '100+' END)
    SQL> /
    AGE_G AGE_COUNT
    100+ 1
    70-79 4
    80-89 2
    90-99 3
    Example
    2. Oracle 9i Feature
    Oracle 9i부터는 pl/sql에서도 case문을 사용할 수 있으면 이것은
    복잡한 if-else 구문을 없애고, C언어의 switch문과 같은 기능을 한다.
    아래의 9i pl/sql Sample 및 제약 사항을 보면 아래와 같다.
    Sample 1:
    A simple example demonstrating the proper syntax for a case
    statement
    using a character variable as the selector. See the section entitled
    'Restrictions' at the end of this article for details on which PLSQL
    datatypes may appear as a selector in a case statement or
    expression.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    declare
    achar char(1) := '&achar';
    begin
    case achar
    when 'A' then dbms_output.put_line('The description was Excellent');
    when 'B' then dbms_output.put_line('The description was Very Good');
    when 'C' then dbms_output.put_line('The description was Good');
    when 'D' then dbms_output.put_line('The description was Fair');
    when 'F' then dbms_output.put_line('The description was Poor');
    else dbms_output.put_line('The description was No such Grade');
    end case;
    end;
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    Sample 2:
    A simple example demonstrating the proper syntax for a case
    expression
    using a character variable as the selector. See the section entitled
    'Restrictions' at the end of this article for details on which PLSQL
    datatypes may appear as a selector in a case statement or
    expression.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    declare
    achar char(1) := '&achar';
    description varchar2(20);
    begin
    description :=
    case achar
    when 'A' then 'Excellent'
    when 'B' then 'Very Good'
    when 'C' then 'Good'
    when 'D' then 'Fair'
    when 'F' then 'Poor'
    else 'No such grade'
    end;
    dbms_output.put_line('The description was ' || description);
    end;
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    NOTE: The above simple samples demonstrate two subtle differences in the
    syntax
    required for case statements and expressions.
    1) A case STATEMENT is terminated using the 'end case' keywords; a
    case
    EXPRESSION is terminated using only the 'end' keyword.
    2) Each item in a case STATEMENT consists of one or more
    statements, each
    terminated by a semicolon. Each item in a case expression
    consists of
    exactly one expression, not terminated by a semicolon.
    Sample 3:
    Sample 1 demonstrates a simple case statement in which the selector
    is
    compared for equality with each item in the case statement body.
    PL/SQL
    also provides a 'searched' case statement as an alternative; rather
    than
    providing a selector and a list of values, each item in the body of
    the
    case statement provides its own predicate. This predicate can be any
    valid boolean expression, but only one case will be selected.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    declare
    achar char(1) := '&achar';
    begin
    case
    when achar = 'A' then dbms_output.put_line('The description was
    Excellent');
    when achar = 'B' then dbms_output.put_line('The description was Very
    Good');
    when achar = 'C' then dbms_output.put_line('The description was
    Good');
    when achar = 'D' then dbms_output.put_line('The description was
    Fair');
    when achar = 'F' then dbms_output.put_line('The description was
    Poor');
    else dbms_output.put_line('The description was No such Grade');
    end case;
    end;
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    Sample 4:
    This sample demonstrates the proper syntax for a case expression of
    the
    type discussed in Sample 3 above.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    declare
    achar char(1) := '&achar';
    description varchar2(20);
    begin
    description :=
    case
    when achar = 'A' then 'Excellent'
    when achar = 'B' then 'Very Good'
    when achar = 'C' then 'Good'
    when achar = 'D' then 'Fair'
    when achar = 'F' then 'Poor'
    else 'No such grade'
    end;
    dbms_output.put_line('The description was ' || description);
    end;
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    Sample 5:
    This sample demonstrates the use of nested case statements. It is
    also
    permissable to nest case expressions within a case statement (though
    it
    is not demonstrated here), but nesting of case statements within a
    case
    expression is not possible since statements do not return any value.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    declare
    anum1 number := &anum1;
    anum2 number := &anum2;
    answer number;
    begin
    case anum1
    when 1 then case anum2
    when 1 then answer := 10;
    when 2 then answer := 20;
    when 3 then answer := 30;
    else answer := 999;
    end case;
    when 2 then case anum2
    when 1 then answer := 15;
    when 2 then answer := 25;
    when 3 then answer := 35;
    else answer := 777;
    end case;
    else answer := 555;
    end case;
    dbms_output.put_line('The answer is ' || answer);
    end;
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    Sample 6:
    This sample demonstrates nesting of case expressions within another
    case
    expression. Note again the absence of semicolons to terminate both
    the
    nested case expression and the individual cases of those
    expressions.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    declare
    anum1 number := &anum1;
    anum2 number := &anum2;
    answer number;
    begin
    answer :=
    case anum1
    when 1 then case anum2
    when 1 then 10
    when 2 then 20
    when 3 then 30
    else 999
    end
    when 2 then case anum2
    when 1 then 15
    when 2 then 25
    when 3 then 35
    else 777
    end
    else 555
    end;
    dbms_output.put_line('The answer is ' || answer);
    end;
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    Although PL/SQL anonymous blocks have been used in all of the examples
    so far,
    case statements and expressions can also be used in procedures,
    functions, and
    packages with no changes to the syntax.
    The following samples are included for completeness and demonstrate the
    use of
    case statements and/or expressions in each of these scenarios.
    Sample 7:
    This sample demonstrates use of a case statement in a stored
    procedure.
    Note that this sample also demonstrates that it is possible for each
    of
    the items in the case body to consist of more than one statement.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    create or replace procedure testcasestmt ( anum IN number ) is
    begin
    case
    when anum = 1 then dbms_output.put_line('The number was One');
    dbms_output.put_line('In case 1');
    when anum = 2 then dbms_output.put_line('The number was Two');
    dbms_output.put_line('In case 2');
    when anum = 3 then dbms_output.put_line('The number was Three');
    dbms_output.put_line('In case 3');
    when anum = 4 then dbms_output.put_line('The number was Four');
    dbms_output.put_line('In case 4');
    when anum = 5 then dbms_output.put_line('The number was Five');
    dbms_output.put_line('In case 5');
    else dbms_output.put_line('The description was Invalid input');
    dbms_output.put_line('In the else case');
    end case;
    end;
    exec testcasestmt(&anum);
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    Sample 8:
    This sample demonstrates the use of a case statement in a stored
    package.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    create or replace package testpkg2 is
    procedure testcasestmt ( anum IN number );
    function testcasestmt_f ( anum IN number ) return number;
    end testpkg2;
    create or replace package body testpkg2 is
    procedure testcasestmt ( anum IN number ) is
    begin
    case
    when anum = 1 then dbms_output.put_line('The number was One');
    dbms_output.put_line('In case 1');
    when anum = 2 then dbms_output.put_line('The number was Two');
    dbms_output.put_line('In case 2');
    when anum = 3 then dbms_output.put_line('The number was Three');
    dbms_output.put_line('In case 3');
    when anum = 4 then dbms_output.put_line('The number was Four');
    dbms_output.put_line('In case 4');
    when anum = 5 then dbms_output.put_line('The number was Five');
    dbms_output.put_line('In case 5');
    else dbms_output.put_line('The description was Invalid input');
    dbms_output.put_line('In the else case');
    end case;
    end;
    function testcasestmt_f ( anum IN number ) return number is
    begin
    case
    when anum = 1 then dbms_output.put_line('The number was One');
    dbms_output.put_line('In case 1');
    when anum = 2 then dbms_output.put_line('The number was Two');
    dbms_output.put_line('In case 2');
    when anum = 3 then dbms_output.put_line('The number was Three');
    dbms_output.put_line('In case 3');
    when anum = 4 then dbms_output.put_line('The number was Four');
    dbms_output.put_line('In case 4');
    when anum = 5 then dbms_output.put_line('The number was Five');
    dbms_output.put_line('In case 5');
    else dbms_output.put_line('The description was Invalid input');
    dbms_output.put_line('In the else case');
    end case;
    return anum;
    end;
    end testpkg2;
    exec testpkg2.testcasestmt(&anum);
    variable numout number
    exec :numout := testpkg2.testcasestmt_f(&anum);
    print numout
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    Sample 9:
    This sample demonstrates the use of a case expression in a stored
    package.
    - - - - - - - - - - - - - - - - Code begins here - - - - - - - - - - - -
    set serveroutput on
    create or replace package testpkg is
    procedure testcase ( anum IN number );
    function testcase_f ( anum IN number ) return number;
    end testpkg;
    create or replace package body testpkg is
    procedure testcase ( anum IN number ) is
    anumber number := anum;
    anothernum number;
    begin
    anothernum :=
    case
    when anumber = 1 then anumber + 1
    when anumber = 2 then anumber + 2
    when anumber = 3 then anumber + 3
    when anumber = 4 then anumber + 4
    when anumber = 5 then anumber + 5
    else 999
    end;
    dbms_output.put_line('The number was ' || anothernum);
    end;
    function testcase_f ( anum IN number ) return number is
    anumber number := anum;
    anothernum number;
    begin
    anothernum :=
    case
    when anumber = 1 then anumber + 1
    when anumber = 2 then anumber + 2
    when anumber = 3 then anumber + 3
    when anumber = 4 then anumber + 4
    when anumber = 5 then anumber + 5
    else 999
    end;
    dbms_output.put_line('The number was ' || anothernum);
    return anothernum;
    end;
    end testpkg;
    variable numout number
    exec testpkg.testcase(&anum);
    exec :numout := testpkg.testcase_f(&anum);
    print numout
    - - - - - - - - - - - - - - - - Code ends here - - - - - - - - - - - -
    제약 사항
    다음의 databasetype은 case 문에서 지원되지 않는다.
    BLOB
    BFILE
    VARRAY
    Nested Table
    PL/SQL Record
    PL/SQL Version 2 tables (index by tables)
    Object type (user-defined type)
    All of these types except for object types face a similar restriction
    even for if statements (i.e. they cannot be compared for equality directly) so this is unlikely to change for these types. Lack of support for object types is simply an implementation restriction which may be relaxed in future releases.
    Reference Ducumment
    Oracle 8.1.7 Manual
    NOTE:131557.1

    I have done the following code but doesn't
    like the statement of - "case(butNext)". What do you mean "doesn't like" -- did you get an error message?
    I'm guessing it won't compile because you're trying to switch on a Button.
    I tried something
    like "g.fillOval(100,50,70,90, BorderLayout.NORTH)"...no that doesn't make sense. You only use BorderLayout.NORTH when you're adding components to a BorderLayout layout manager. An oval is not a component and fillOval isn't adding a component and Graphics is not a Panel or layout manager.
    Would appreciate it if someone could tell me how to position
    shapes using the graohic method. I think the problem is that you're confusing shapes with components.

  • Problem in installing dowlnloaded oracle s/w version 11g Release 2

    Hi
    I downloaded oracle 11g release 2 s/w from www.oracle.com.I downloaded s/w for windows 64 bit os.my os is windows 7. that is why i downloaded it. It is in two zip folders.after completion of downloading i open first part and i executed setup.exe file in database folder of first part.
    in the install options window i selected "create and configure database " option from the available 3 options.one of the other option is "install database s/w only" and other i could not remembered.
    after this i given the location for storing installed files. this location is in same location where i downloaded the s/w(D:\ location).
    then i clicked next and finish button. upto 48% it works fine, but after that it is showing error that one of the file is not available from the source directory.
    so what i have to do next.
    i tried again by clicking the universal installer option from the start->programs menu. It is asking the folder location for source files, i given this downloaded location. but it is showing error like "the specified location is a folder location", if i selected setup.exe file the it is showing "the specified file is incorrect".
    so kindly help me out in this one.
    Regards
    Raavi Naveen

    Hi Ravi,
    Here the issue is Downloaded zip files are not extracted at the same location.
    For example,the downloaded files are
    11gR2_part1.zip and 11gR2_part2.zip
    Please unzip as below
    mkdir 11gR2
    mv 11gR2_part1.zip 11gR2
    mv 11gR2_part2.zip 11gR2
    cd 11gR2
    unzip 11gR2_part1.zip
    unzip 11gR2_part2.zip
    The zip will create necessary folders and place files, 2nd zip will also extract files in the same folder.
    In case this doesn't resolve error kindly paste the error received in installation log
    Thanks,
    Krishna

  • Case statement problems in oracle forms 6i

    Hello,
    Any one can help me that how to use case statment in Oracle forms 6i.
    i have read one thread and there was no proper solution so could any one please let me know to use case statement.
    Please also let me know which category i should search for FORMS 6i.
    when i'm using below code with cursor then i'm getting error 103
    database:=11g
    application := forms 6i
    operating system:= win Xp
    code is given below :-
    cursor c1 is
    select nc.nomenclature_id,
    nvl(nc.category_value, 0) master,
    nvl(nc2.category_value, 0) case,
    nvl(nc3.category_value, 0) bundle,
    case
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) > 0 then
    'A' --All packouts Master, Case, Bundle
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) = 0 then
    'B' --Both Master and Case
    when nvl(nc2.category_value, 0) = 0 and
    nvl(nc3.category_value, 0) = 0 then
    'C' --Master Case Only
    else
    'N'
    end code
    from nomn_category nc, --master case
    (select nc2.nomenclature_id,
    nc2.category_value
    from nomn_category nc2
    where nc2.category_id = '230732') nc2,
    (select nc3.nomenclature_id,
    nc3.category_value
    from nomn_category nc3
    where nc3.category_id = '236566') nc3
    Edited by: Rahul on Feb 3, 2012 7:18 PM
    Edited by: Rahul on Feb 3, 2012 7:20 PM

    hello Andreas,
    It is ok but i dont have to use view there.
    i need to use without view, because this code has to be use in FORMS6i.
    But Forms6i doesn't support to case function. i'm newbie in Forms.
    If you can convert to below bold one portion(case) into decode then please help me or
    if you have any idea about Forms6i then please send me any link where is given explanation about excel report that how to make excel report through Forms6i step by step and that excel report should be generate on any dynamic path which is given by user:-
    cursor c1 is
    select nc.nomenclature_id,
    nvl(nc.category_value, 0) master,
    nvl(nc2.category_value, 0) case,
    nvl(nc3.category_value, 0) bundle,
    case
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) > 0 then
    *'A'*
    when nvl(nc.category_value, 0) > 0 and
    nvl(nc2.category_value, 0) > 0 and
    nvl(nc3.category_value, 0) = 0 then
    *'B' --Both Master and Case*
    when nvl(nc2.category_value, 0) = 0 and
    nvl(nc3.category_value, 0) = 0 then
    *'C'*
    else
    *'N'*
    end "code"
    from nomn_category nc,
    (select nc2.nomenclature_id,
    nc2.category_value
    from nomn_category nc2
    where nc2.category_id = '230732') nc2,
    (select nc3.nomenclature_id,
    nc3.category_value
    from nomn_category nc3
    where nc3.category_id = '236566') nc3
    thanks

  • Oracle database 11g release 2 installation on windows 7 (64-bit)

    I've downloaded Oracle 11g release2 for the first time on my laptop, but before it, I've worked on MySql database and oracle 10g too but they are uninstalled now. The problem is: it is not going as I saw in the video of installation. On my system, it asks for a proxy server, showing a "connection failed" dialog box. I doubt, the second file I downloaded doesn't get extracted to the same folder. But I am not sure, if this were the problem, it(setup) would have even started or not ? then I clicked on the setup and command line prompt appeared.
    Then it asked to fill in the email address.
    and Now comes the real problem, where it shown "connection failed" dialog box, asking for proxy server, proxy port, proxy username, proxy password. I don't know what values to fill in these columns.
    Here I am copy pasting Log file created while installing Oracle database 11g on my system :
    Using paramFile: C:\Users\rubbal bhusri\Downloads\Compressed\Oracle 11g release 2\database\install\oraparam.ini
    Checking monitor: must be configured to display at least 256 colors.    Actual 4294967296    Passed
    The commandline for unzip:
    C:\Users\rubbal bhusri\Downloads\Compressed\Oracle 11g release 2\database\install\unzip -qqqo ..\stage\Components\oracle.jdk\1.5.0.17.04\1\DataFiles/"*.jar" -d "C:\Users\RUBBAL~1\AppData\Local\Temp\OraInstall2013-07-29_10-32-10PM" INFO: Loading data from: jar:file:/C:/Users/rubbal%20bhusri/AppData/Local/Temp/OraInstall2013-07-29_10-32-10PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Loading beanstore from jar:file:/C:/Users/rubbal%20bhusri/AppData/Local/Temp/OraInstall2013-07-29_10-32-10PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/C:/Users/rubbal%20bhusri/AppData/Local/Temp/OraInstall2013-07-29_10-32-10PM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
    INFO: Verifying target environment...
    INFO: Checking whether the IP address of the localhost could be determined...
    INFO: Completed verification of target environment.
    INFO: Inventory exists: false
    INFO: Registering setup bean
    INFO: Building Flow
    INFO: Building the flow graph
    INFO: Loaded state prepInstall
    INFO: Loaded state decideOCMInstall
    INFO: Loaded state getOCMDetails
    INFO: Loaded state installOptions
    INFO: Loaded state getSystemClass
    INFO: Loaded state nodeSelectionPage
    INFO: Loaded state upgradeValidation
    INFO: Loaded state installType
    INFO: Loaded state quickInstallPage
    INFO: Loaded state productLanguage
    INFO: Loaded state inventoryPage
    INFO: Loaded state getOracleHome
    INFO: Loaded state dbEdition
    INFO: Loaded state configurationType
    INFO: Loaded state dbIdentifier
    INFO: Loaded state configurationOption
    INFO: Loaded state managementOption
    INFO: Loaded state storageOption
    INFO: Loaded state recoveryOption
    INFO: Loaded state selectASMDiskGroups
    INFO: Loaded state schemaPasswordDialog
    INFO: Loaded state getPrivilegedOSGroups
    INFO: Loaded state prereqExecutionDecider
    INFO: Loaded state performChecks
    INFO: Loaded state showSummary
    INFO: Loaded state setup
    INFO: Loaded state finish
    INFO: Linking states
    INFO: State[configurationOption]: route=success; to=managementOption
    INFO: State[configurationType]: route=success; to=dbIdentifier
    INFO: State[dbEdition]: route=oraclehome_location; to=getOracleHome
    INFO: State[dbIdentifier]: route=success; to=configurationOption
    INFO: State[decideOCMInstall]: route=ignoreOCM; to=installOptions
    INFO: State[decideOCMInstall]: route=requireOCM; to=getOCMDetails
    INFO: State[getOCMDetails]: route=success; to=installOptions
    INFO: State[getOracleHome]: route=advanced_yes_createDB_yes; to=configurationType
    INFO: State[getOracleHome]: route=advanced_yes_inventory_no; to=inventoryPage
    INFO: State[getOracleHome]: route=advanced_yes_softwareDB_yes; to=prereqExecutionDecider
    INFO: State[getOracleHome]: route=advanced_yes_upgrade_yes; to=prereqExecutionDecider
    INFO: State[getPrivilegedOSGroups]: route=success; to=prereqExecutionDecider
    INFO: State[getSystemClass]: route=desktop_class_yes; to=quickInstallPage
    INFO: State[getSystemClass]: route=server_class_yes; to=nodeSelectionPage
    INFO: State[installOptions]: route=advanced_yes_softwareDB_yes; to=nodeSelectionPage
    INFO: State[installOptions]: route=migrate_yes_clusterware_no; to=upgradeValidation
    INFO: State[installOptions]: route=migrate_yes_clusterware_yes; to=nodeSelectionPage
    INFO: State[installOptions]: route=system_class; to=getSystemClass
    INFO: State[installType]: route=advanced_yes; to=productLanguage
    INFO: State[installType]: route=basic_yes; to=quickInstallPage
    INFO: State[inventoryPage]: route=advanced_yes_createDB_yes; to=configurationType
    INFO: State[inventoryPage]: route=advanced_yes_softwareDB_yes; to=prereqExecutionDecider
    INFO: State[inventoryPage]: route=basic_yes; to=prereqExecutionDecider
    INFO: State[managementOption]: route=success; to=storageOption
    INFO: State[nodeSelectionPage]: route=create_and_configureDB; to=installType
    INFO: State[nodeSelectionPage]: route=software_onlyDB; to=productLanguage
    INFO: State[nodeSelectionPage]: route=upgradeDB; to=upgradeValidation
    INFO: State[performChecks]: route=success; to=showSummary
    INFO: State[prepInstall]: route=success; to=decideOCMInstall
    INFO: State[prereqExecutionDecider]: route=executeprereqs; to=performChecks
    INFO: State[prereqExecutionDecider]: route=ignoreprereqs; to=showSummary
    INFO: State[productLanguage]: route=productlanguage_yes; to=dbEdition
    INFO: State[quickInstallPage]: route=basic_yes_inventory_no; to=inventoryPage
    INFO: State[quickInstallPage]: route=basic_yes_inventory_yes; to=prereqExecutionDecider
    INFO: State[recoveryOption]: route=asm_chosen_asm_not_present; to=schemaPasswordDialog
    INFO: State[recoveryOption]: route=asm_chosen_asm_present; to=selectASMDiskGroups
    INFO: State[recoveryOption]: route=asm_not_chosen; to=schemaPasswordDialog
    INFO: State[schemaPasswordDialog]: route=success; to=prereqExecutionDecider
    INFO: State[selectASMDiskGroups]: route=success; to=schemaPasswordDialog
    INFO: State[setup]: route=success; to=finish
    INFO: State[showSummary]: route=success; to=setup
    INFO: State[storageOption]: route=success; to=recoveryOption
    INFO: State[upgradeValidation]: route=success; to=productLanguage
    INFO: Successfully built the flow
    INFO: Opening bean stores from which the beans can be loaded
    INFO: Loading beanstore from a given input stream
    INFO: Translating external format into raw format
    INFO: Registering the flow data beans
    INFO: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
    INFO: [INS-07001] Value for property 'CLUSTER_NODES' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_OSDBA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_OSOPER' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_GlobalDBName' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SID' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_StorageType' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CustomInstall' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SystemClass' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_QuickInstallOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_AllocatedMemory' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_AutoMemoryOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EMCentralAgentSelected' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_MountPointLocation' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_LaunchDBCA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SecureConfigDisabled' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EnableAutoBackup' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_LoadExampleSchemas' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ReceiveEmailNotification' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_UseDBControl' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_UseFileSystemForRecovery' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_UseSamePassword' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_LaunchODMA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_RDBMSInstalling' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SetOracleBase' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle.install.db.isCCRAuthenticationUsed' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ConfigTabSelected' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CharSetOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_Type' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallOptionSelected' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupNameForASM' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EMEmailAddress' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EMSMTPServer' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpPassword' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpLocation' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpUsername' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminSamePasswdForAll' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ASMSNMPUserPassword' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminPasswords' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallEdition' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CharacterSet' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupName' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_OCR_PartitionLocation' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
    INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_StarterDatabaseType' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CustomComponents' not found in the bean store.
    INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
    INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
    INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
    INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
    INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
    INFO: [INS-07001] Value for property 'b_rdbmsInstall' not found in the bean store.
    INFO: [INS-07001] Value for property 'INVENTORY_LOCATION' not found in the bean store.
    INFO: [INS-07001] Value for property 'UNIX_GROUP_NAME' not found in the bean store.
    INFO: [INS-07001] Value for property 'COLLECTOR_RESPONSE_FILE' not found in the bean store.
    INFO: [INS-07001] Value for property 'MYORACLESUPPORT_USERNAME' not found in the bean store.
    INFO: [INS-07001] Value for property 'MYORACLESUPPORT_PASSWORD' not found in the bean store.
    INFO: [INS-07001] Value for property 'DECLINE_SECURITY_UPDATES' not found in the bean store.
    INFO: [INS-07001] Value for property 'PROXY_HOST' not found in the bean store.
    INFO: [INS-07001] Value for property 'PROXY_PORT' not found in the bean store.
    INFO: [INS-07001] Value for property 'PROXY_USER' not found in the bean store.
    INFO: [INS-07001] Value for property 'PROXY_PWD' not found in the bean store.
    INFO: [INS-07001] Value for property 'SECURITY_UPDATES_VIA_MYORACLESUPPORT' not found in the bean store.
    INFO: [INS-07001] Value for property 'COLLECTOR_IGNORE_FAILURES' not found in the bean store.
    INFO: [INS-07001] Value for property 'COLLECTOR_IGNORE_CONFIGURATION' not found in the bean store.
    INFO: [INS-07001] Value for property 'SELECTED_LANGUAGES' not found in the bean store.
    INFO: [INS-07001] Value for property 'ORACLE_HOSTNAME' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_SystemClass' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_QuickInstallOption' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_LaunchDBCA' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_LaunchODMA' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_RDBMSInstalling' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_SetOracleBase' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle.install.db.isCCRAuthenticationUsed' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_Type' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_SuperAdminSamePasswdForAll' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_DiskGroupName' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_OCR_PartitionLocation' not found in the bean store.
    WARNING: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
    WARNING: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
    WARNING: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
    WARNING: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
    WARNING: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
    WARNING: [INS-07001] Value for property 'b_rdbmsInstall' not found in the bean store.
    WARNING: [INS-07001] Value for property 'COLLECTOR_RESPONSE_FILE' not found in the bean store.
    WARNING: [INS-07001] Value for property 'COLLECTOR_IGNORE_FAILURES' not found in the bean store.
    WARNING: [INS-07001] Value for property 'COLLECTOR_IGNORE_CONFIGURATION' not found in the bean store.
    INFO: Set value for bean DBSetupBean
    INFO: [INS-07001] Value for property 'oracle_install_RACInstall' not found in the bean store.
    INFO: [INS-07001] Value for property 'CLUSTER_NODES' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_OSDBA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_OSOPER' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_GlobalDBName' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SID' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_StorageType' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CustomInstall' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SystemClass' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_QuickInstallOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_AllocatedMemory' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_AutoMemoryOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ConfigurationType' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EMCentralAgentSelected' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_MountPointLocation' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_LaunchDBCA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SecureConfigDisabled' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EnableAutoBackup' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_LoadExampleSchemas' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ReceiveEmailNotification' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_UseDBControl' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_UseFileSystemForRecovery' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_UseSamePassword' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_LaunchNetCA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_LaunchODMA' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_NoMigration' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_RDBMSInstalling' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SetOracleBase' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle.install.db.isCCRAuthenticationUsed' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_client_OraMTSPortNumber' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ConfigTabSelected' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CharSetOption' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_Type' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallOptionSelected' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupNameForASM' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EMEmailAddress' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_EMSMTPServer' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpPassword' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpLocation' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_RecoveryBackUpUsername' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminSamePasswdForAll' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_ASMSNMPUserPassword' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_SuperAdminPasswords' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallEdition' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CharacterSet' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_DiskGroupName' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_OCR_PartitionLocation' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_InstallType' not found in the bean store.
    INFO: [INS-07001] Value for property 'INSTALL_TYPE' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_StarterDatabaseType' not found in the bean store.
    INFO: [INS-07001] Value for property 'oracle_install_db_CustomComponents' not found in the bean store.
    INFO: [INS-07001] Value for property 'ORACLE_HOME' not found in the bean store.
    INFO: [INS-07001] Value for property 'ORACLE_BASE' not found in the bean store.
    INFO: [INS-07001] Value for property 'FROM_LOCATION' not found in the bean store.
    INFO: [INS-07001] Value for property 'TOPLEVEL_COMPONENT' not found in the bean store.
    INFO: [INS-07001] Value for property 'TopLevelComponentVersion' not found in the bean store.
    WARNING: Failed to load bean oracle.install.ivw.db.bean.DBInstallSettings. Reason: [INS-07001] Value for property 'DBInstallSettings' not found in the bean store.
    INFO: Closing bean stores from which the beans can be loaded
    INFO: Registering the flow views
    INFO: Adding View[type: oracle.install.commons.base.interview.common.view.PrereqGUI viewId: null uiType: null]
    INFO: oracle.install.commons.base.interview.common.view.PrereqGUI added to View Type Registry with the key as [PrereqUI]
    INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SummaryGUI viewId: null uiType: null]
    INFO: oracle.install.commons.base.interview.common.view.SummaryGUI added to View Type Registry with the key as [SummaryUI]
    INFO: Adding View[type: oracle.install.commons.base.interview.common.view.SetupGUI viewId: null uiType: null]
    INFO: oracle.install.commons.base.interview.common.view.SetupGUI added to View Type Registry with the key as [SetupUI]
    INFO: Adding View[type: oracle.install.ivw.common.view.InventoryUI viewId: null uiType: null]
    INFO: oracle.install.ivw.common.view.InventoryUI added to View Type Registry with the key as [InventoryUI]
    INFO: Adding View[type: oracle.install.ivw.common.view.ProductLanguageGUI viewId: ProductLanguageUI uiType: null]
    INFO: oracle.install.ivw.common.view.ProductLanguageGUI added to View Type Registry with the key as [ProductLanguageUI]
    INFO: Adding View[type: oracle.install.ivw.common.view.OCMDetailsGUI viewId: OCMDetailsUI uiType: null]
    INFO: oracle.install.ivw.common.view.OCMDetailsGUI added to View Type Registry with the key as [OCMDetailsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationTypeUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.ConfigurationTypeUI added to View Type Registry with the key as [ConfigurationTypeUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.DBIdentifierUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.DBIdentifierUI added to View Type Registry with the key as [DBIdentifierUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ConfigurationOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.ConfigurationOptionsUI added to View Type Registry with the key as [ConfigurationOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ManagementOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.ManagementOptionsUI added to View Type Registry with the key as [ManagementOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.StorageOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.StorageOptionsUI added to View Type Registry with the key as [StorageOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.RecoveryBackupUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.RecoveryBackupUI added to View Type Registry with the key as [RecoveryBackupUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI viewId: ASMDiskGroupSelectionUI uiType: null]
    INFO: oracle.install.ivw.db.view.ASMDiskGroupSelectionGUI added to View Type Registry with the key as [ASMDiskGroupSelectionUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.SchemaPasswordUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.SchemaPasswordUI added to View Type Registry with the key as [SchemaPasswordUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.QuickInstallUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.QuickInstallUI added to View Type Registry with the key as [QuickInstallUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.InstallOptionsUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.InstallOptionsUI added to View Type Registry with the key as [InstallOptionsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.SystemClassUI viewId: SystemClassUI uiType: null]
    INFO: oracle.install.ivw.db.view.SystemClassUI added to View Type Registry with the key as [SystemClassUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.InstallLocationUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.InstallLocationUI added to View Type Registry with the key as [InstallLocationUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.DBEditionGUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.DBEditionGUI added to View Type Registry with the key as [DBEditionUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.NodeSelectionUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.NodeSelectionUI added to View Type Registry with the key as [NodeSelectionUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.FinishUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.FinishUI added to View Type Registry with the key as [FinishUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI viewId: null uiType: null]
    INFO: oracle.install.ivw.db.view.PrivilegedOSGroupsGUI added to View Type Registry with the key as [PrivilegedOSGroupsUI]
    INFO: Adding View[type: oracle.install.ivw.db.view.InstallTypeGUI viewId: installTypeUI uiType: null]
    INFO: oracle.install.ivw.db.view.InstallTypeGUI added to View Type Registry with the key as [installTypeUI]
    INFO: Initial values of Setup Properties :
    PROPERTY                                      VALUE                                              
    CLUSTER_NODES                                 {}                                                 
    COLLECTOR_IGNORE_CONFIGURATION                false                                              
    COLLECTOR_IGNORE_FAILURES                     false                                              
    COLLECTOR_RESPONSE_FILE                                                                          
    DECLINE_SECURITY_UPDATES                      false                                              
    FROM_LOCATION                                 C:\Users\rubbal bhusri\Downloads\Compressed\Oracle 
                                                   11g release 2\database\install\../stage/products.xm
                                                   l                                                  
    INSTALL_TYPE                                  EE                                                 
    MYORACLESUPPORT_PASSWORD                      *Protected value, not to be logged*                
    MYORACLESUPPORT_USERNAME                                                                         
    ORACLE_BASE                                                                                      
    ORACLE_HOME                                                                                      
    ORACLE_HOSTNAME                               rubbalbhusri-PC                                    
    PROXY_HOST                                                                                       
    PROXY_PORT                                                                                       
    PROXY_PWD                                     *Protected value, not to be logged*                
    PROXY_USER                                                                                       
    SECURITY_UPDATES_VIA_MYORACLESUPPORT          true                                               
    SELECTED_LANGUAGES                            {"en"}                                             
    b_rdbmsInstall                                true                                               
    oracle.install.db.isCCRAuthenticationUsed     false                                              
    oracle_install_LaunchNetCA                    false                                              
    oracle_install_NoMigration                    false                                              
    oracle_install_OCR_PartitionLocation                                                             
    oracle_install_RACInstall                     false                                              
    oracle_install_RDBMSInstalling                true                                               
    oracle_install_client_OraMTSPortNumber        49157                                              
    oracle_install_db_ASMSNMPUserPassword         *Protected value, not to be logged*                
    oracle_install_db_AutoMemoryOption            false                                              
    oracle_install_db_CharSetOption               3                                                  
    oracle_install_db_CharacterSet                                                                   
    oracle_install_db_ConfigTabSelected           0                                                  
    oracle_install_db_ConfigurationType           &General Purpose / Transaction Processing          
    oracle_install_db_CustomInstall               false                                              
    oracle_install_db_DiskGroupName                                                                  
    oracle_install_db_DiskGroupNameForASM                                                            
    oracle_install_db_EMCentralAgentSelected                                                         
    oracle_install_db_EMEmailAddress                                                                 
    oracle_install_db_EMSMTPServer                                                                   
    oracle_install_db_EnableAutoBackup            false                                              
    oracle_install_db_InstallEdition              EE                                                 
    oracle_install_db_InstallOption               INSTALL_DB_AND_CONFIG                              
    oracle_install_db_InstallOptionSelected       1                                                  
    oracle_install_db_InstallType                 EE                                                 
    oracle_install_db_LaunchDBCA                  false                                              
    oracle_install_db_LaunchODMA                  false                                              
    oracle_install_db_LoadExampleSchemas          false                                              
    oracle_install_db_MountPointLocation                                                             
    oracle_install_db_QuickInstallOption          false                                              
    oracle_install_db_ReceiveEmailNotification    false                                              
    oracle_install_db_RecoveryBackUpLocation                                                         
    oracle_install_db_RecoveryBackUpPassword      *Protected value, not to be logged*                
    oracle_install_db_RecoveryBackUpUsername                                                         
    oracle_install_db_SID                                                                            
    oracle_install_db_SecureConfigDisabled        false                                              
    oracle_install_db_SetOracleBase               false                                              
    oracle_install_db_StarterDatabaseType         GENERAL_PURPOSE                                    
    oracle_install_db_StorageType                 0                                                  
    oracle_install_db_SuperAdminPasswords         *Protected value, not to be logged*                
    oracle_install_db_SuperAdminSamePasswdForAll  *Protected value, not to be logged*                
    oracle_install_db_SystemClass                 DESKTOP_CLASS                                      
    oracle_install_db_Type                        1                                                  
    oracle_install_db_UseDBControl                true                                               
    oracle_install_db_UseFileSystemForRecovery    false                                              
    oracle_install_db_UseSamePassword             false                                              
    INFO: Launching Oracle Database 11g Release 2 Installer
    INFO: Started executing the flow in INTERACTIVE mode
    INFO: Waiting for completion of background operations
    INFO: Finishing all forked tasks at state prepInstall
    INFO: Waiting for completion all forked tasks at state prepInstall
    INFO: All forked task are completed at state prepInstall
    INFO: Completed background operations
    INFO: Executing action at state prepInstall
    INFO: Completed executing action at state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <prepInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <prepInstall>
    INFO: Completed validating view at state <prepInstall>
    INFO: Validating state <prepInstall>
    WARNING: Validation disabled for the state prepInstall
    INFO: Completed validating state <prepInstall>
    INFO: Verifying route success
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state decideOCMInstall
    INFO: Completed executing action at state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <decideOCMInstall>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <decideOCMInstall>
    INFO: Completed validating view at state <decideOCMInstall>
    INFO: Validating state <decideOCMInstall>
    WARNING: Validation disabled for the state decideOCMInstall
    INFO: Completed validating state <decideOCMInstall>
    INFO: Verifying route requireOCM
    INFO: Get view named [OCMDetailsUI]
    INFO: View for [OCMDetailsUI] is oracle.install.ivw.common.view.OCMDetailsGUI@675926d1
    INFO: Initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed initializing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed displaying view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed loading view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Completed localizing view <OCMDetailsUI> at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Executing action at state getOCMDetails
    INFO: Completed executing action at state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Moved to state <getOCMDetails>
    INFO: Waiting for completion of background operations
    INFO: Completed background operations
    INFO: Validating view at state <getOCMDetails>
    INFO: Completed validating view at state <getOCMDetails>
    INFO: Validating state <getOCMDetails>
    INFO: Terminating all background operations
    INFO: Terminated all background operations
    INFO: Completed validating state <getOCMDetails>
    INFO: Transition aborted
    INFO: Rolled back to state <getOCMDetails>
    INFO: Pause Oracle Database 11g Release 2 Installer
    INFO: Resume Oracle Database 11g Release 2 Installer
    INFO: Exit Status is 0
    INFO: Shutdown Oracle Database 11g Release 2 Installer
    INFO: Unloading Setup Driver

    956622 wrote:
    I've downloaded Oracle 11g release2 for the first time on my laptop, but before it, I've worked on MySql database and oracle 10g too but they are uninstalled now. The problem is: it is not going as I saw in the video of installation.
    I don't see any videos in the official Installation Guide ..Contents
    On my system, it asks for a proxy server, showing a "connection failed" dialog box. I doubt, the second file I downloaded doesn't get extracted to the same folder. But I am not sure, if this were the problem, it(setup) would have even started or not ? then I clicked on the setup and command line prompt appeared.
    Then it asked to fill in the email address.
    and Now comes the real problem, where it shown "connection failed" dialog box, asking for proxy server, proxy port, proxy username, proxy password. I don't know what values to fill in these columns.
    You don't need to give it an email address, and then you don't need to provide proxy server information.  Try the installation without it.
    <snip>

Maybe you are looking for

  • Problem with pdf printing in Apex 3.2

    Hi All, I have apex 3.2 in Oracle 11.1, and the OS is OEL4. I ran the post installation script for granting connect privileges for APEX_030200 also.I have installed BI Publisher in another machine, and configured the URL in apex. But the Pdf printing

  • Expression or Calculation tag value are reset to last application saved value when PC reboot

    I'm doing daily logging data for daily report and for the daily flow calculation, I'm doing those step: 1- When Timer1 = 11h55 -> Daily_Volume = (Actual_Volume - Yesterday_Volume) 2- When Timer2 = 11h56 -> Yesterday_Volume = (Actual_Volume ) 3- When

  • Using javap.exe?

    There's a source file Disassemble.java, the codes is following, package test; interface IA {   public void print(String str); class IAImpl implements IA {   public IAImpl() {     System.out.println("class A");   public void print(String str) {     Sy

  • Balance Sheet and Profit and Loss

    Dear experts, I've posted a thread just like this but I've closed it, because the info needed changed. Now I open this one so it will be easier to follow. I need to extract data from tables BKPF and BSEG. So I thought in extractor 0FI_GL_4. This mean

  • [svn:osmf:] 12257: Extending trait resolver related unit tests, and fixing found malfunctions.

    Revision: 12257 Revision: 12257 Author:   [email protected] Date:     2009-11-27 13:01:04 -0800 (Fri, 27 Nov 2009) Log Message: Extending trait resolver related unit tests, and fixing found malfunctions. Modified Paths:     osmf/trunk/framework/Media