SQL group by term

Hi all

I'm writing a query that selects records that are not within a period of 90 days from the other beginning with the first date. Is that records are selected that are more than 90 days, independently of each other. So, for the next game


(Tbl) CREATE TABLE
class VARCHAR2 (3200),.
actiondate DATE);

INSERT INTO tbl
VALUES ("C1",
"(2007-02-12');

INSERT INTO tbl
VALUES ("C1",
"(2007-06-01');

INSERT INTO tbl
VALUES ("C1",
"(01/05/2009 ');

INSERT INTO tbl
VALUES ("C1",
"(01/07/2009 ');

INSERT INTO tbl
VALUES ("C1",
"(01/09/2009 ');

INSERT INTO tbl
VALUES ("C1",
October 1, 2009 ");"

INSERT INTO tbl
VALUES ("C1",
01/01/2010');

INSERT INTO tbl
VALUES ("C1",
"(2010-02-01');

INSERT INTO tbl
VALUES ("C1",
"(2010-03-01');

INSERT INTO tbl
VALUES ("C1",
"(2010-05-01');

INSERT INTO tbl
VALUES ("C1",
"(07/30/2009 ');

INSERT INTO tbl
VALUES ("C1",
"(29/07/2009 ');

INSERT INTO tbl
VALUES ("C2",
"(2008-02-01');

INSERT INTO tbl
VALUES ("C2",
"(2008-05-02');

INSERT INTO tbl
VALUES ("C2",
"(2008-06-01');

INSERT INTO tbl
VALUES ("C2",
October 15, 2008 ');

INSERT INTO tbl
VALUES ("C2",
01/01/2009');

INSERT INTO tbl
VALUES ("C2",
' (15/02/2009 ');

INSERT INTO tbl
VALUES ("C2",
"(30/05/2009 ');

INSERT INTO tbl
VALUES ("C2",
October 1, 2009 ");"


I need to return the following documents

CLASS ACTIONDATE
C1, 12/02/2007
C1, 01/06/2007
C1, 01/05/2009
C1, 01/09/2009
C1, 01/01/2010
C1, 01/05/2010
C2, 01/02/2008
C2, 02/05/2008
C2, 15/10/2008
C2, 15/02/2009
C2, 30/05/2009
C2, 01/10/2009


He tried the following query does not work

SELECT Actiondate,
Min (actiondate)
COURSES (ORDER BY actiondate SCOPE BETWEEN the '90' LINE PREVIOUS AND CURRENT DAY LEVEL) dt
FROM tbl


I also tried the following method, but does not work.


SELECT Ceil ((actiondate-DATE "-4712-01-01') / 90) * 90 + DATE" - 4712-01-01', "
Min (actiondate)
DUNGEON (DENSE_RANK LAST ORDER BY actiondate, rowid)
FROM tbl
GROUP BY Ceil ((actiondate-DATE "-4712-01-01') / 90) * 90 + DATE" - 4712-01-01'"



Is there a SQL to achieve or PL/SQL is the only way to do this? The pointers will be greatly appreciated.

Please consider that the table contains more than 3 million lines.

Rgds
Thank you.

Hello

Here's the Dimacit of [the aforementioned thread | http://forums.oracle.com/forums/message.jspa?messageID=2526363#2526363].
I just changed the names of table and column, the length of the period spent under 2 (exclusive) days to 90 days (included) and changed the main query for your needs.

WITH  rns AS
(
     SELECT  tbl.*
     ,     ROW_NUMBER() OVER ( PARTITION BY  cls
                             ORDER BY         actiondate
                      ) AS rn
     FROM     tbl
)
,     grp_starts     AS
(
     SELECT     cls
     ,     actiondate
     ,     rn
     ,     grp_start
     FROM     rns
     MODEL     PARTITION BY (cls)
          DIMENSION BY (rn)
                MEASURES ( actiondate
                , actiondate  grp_start
                )
                RULES ( grp_start [ANY ] ORDER BY rn = CASE
                                                               WHEN  grp_start [CV() - 1] IS PRESENT
                                                         AND      grp_start [CV()] - grp_start [CV() - 1] <= 90
                                                         THEN      grp_start [CV() - 1]
                                                       ELSE  actiondate [CV()]
                                                    END
                      )
)
SELECT       cls
,       actiondate
FROM       grp_starts
WHERE       actiondate = grp_start
ORDER BY  cls
,            actiondate;

Subqueries, up and including grp_starts, assign each line to a group. This is great if you want to GROUP BY this expression. If all what you want is to show the group identifier, then you might be able to shorten the above query a bit.

Class is a keyword, so it's not a good choice for a column name. I called this cls of the column instead.

July 30 is exactly 90 days after May 1. If you want a group to contain all less than 90 days after the date of the first in the group, then it seems that you would want a new group to begin July 30. The output you posted, it's what I expected, if a group is all less than or equal to 90 days after the beginning of the group.

Tags: Database

Similar Questions

  • SQL group

    SQL in group by

    I have a table called test and the data in the table from below

    Amount of SNO startdate enddate

    10000 10/1 / 2001 9/30/2003 10.34

    10000 10/1 / 2003 9/30/2005 15.89

    10000 10/1 / 2005 9/30/2007 15.89

    10000 10/1 / 2007 9/30/2013 10.34

    10000 10/1 / 11/30/2013 2013, 15.89

    10000 12/1 / 2013 12/31/4 000 27

    I want the results in this way. expected results of this way

    Amount of SNO startdate enddate

    10000 10/1 / 2001 9/30/2003 10.34

    10000 10/1 / 2003 9/30/2007 15.89

    10000 10/1 / 2007 9/30/2013 10.34

    10000 10/1 / 11/30/2013 2013, 15.89

    10000 12/1 / 2013 12/31/4 000 27

    Under query not giving good results. Please help any with the query

    Select min (startdate), max (endate), sno, amount

    of the TEST

    Group by sno, amount

    Hello

    Why do you want 2 separate lines of output for amount = 15.89?  Why you want to combine the lines where startdate is in 2033 and in 2005, but not the line where startdate is in 2013?  Is this because another line, with a different amount, comes between 2005 and 2013, and but no rank with a different amount comes between 2003 and 2005?

    If so, maybe you want something like:

    WITH got_diff AS

    (

    SELECT sno, startdate, enddate, amount

    , ROW_NUMBER () OVER (PARTITION BY sno - just guessing

    ORDER BY startdate

    )

    -ROW_NUMBER () OVER (PARTITION BY sno, amount

    ORDER BY startdate

    ) AS diff

    OF the test

    )

    SELECT sno

    (MIN) startdate) AS first_startdate

    MAX (enddate) AS last_enddate

    quantity

    OF got_diff

    GROUP BY sno, amount, diff

    ORDER BY sno, first_startdate

    ;

    For an explanation of the technique used here fixed difference, see

    Analytic Question lag and lead and/or

    Re: Ranking of queries

  • Want that output SQL group

    I have a request in the form

    Select Group, bill, table Qty.

    and output as below

    Advantage Bill Qty

    === ===== =======

    x 1 XXX 50

    x 1 XXX 50

    x 1 XXX 60

    Y1 YYY 23

    Y1 YYY 50

    but I want to output as below

    Advantage Bill Qty

    === ===== =======

    x 1 XXX 50

    50

    60

    Y1 YYY 23

    50

    How can I get this help please

    Hello

    If you use SQL * more then you simply need to use 'BREAK' (and an ORDER BY.)

    WE BREAK bill WE left

    SELECT Bill, part Qty.

    FROM MyTable

    ORDER BY 1, 2, 3

    ;

    Best regards

    Bruno Vroman.

  • SQL GROUP BY / HAVING a question

    Hello

    A few days earlier, I came across an interview question that I can not resolve correctly.

    In short, there are two tables: BOOKS and TAGS.

    ID TITLE AUTHOR
    1TwilightStephenie Meyer
    2Catch fireSuzanne Collins
    3Animal farmGeorge Orwell

    BOOK_ID TAG
    1Best Seller
    1Science Fiction
    1TOP10
    2Best Seller
    2Note.
    2TOP10
    3TOP110

    However several tags and the result must be a set of appropriate books, users can enter.

    For example, in the case of tags 'Best Seller', 'Science Fiction' and 'Top 10', the result must be "Twilight."

    My solution was something like this:

    SELECT b.title
    FROM books b
    WHERE
        b.id IN (
            SELECT book_id
            FROM tags
            WHERE
                LOWER(tag) = 'best seller'
        )
        AND b.id IN (
            SELECT book_id
            FROM tags
            WHERE
                LOWER(tag) = 'science fiction'
        )
        AND b.id IN (
            SELECT book_id
            FROM tags
            WHERE
                LOWER(tag) = 'top10'
        )
    
    
    
    
    
    
    

    But it is definetaly not an elegant and flexible query. In the case of labels of 10 or more incoming, we get a code 'spagetti '.

    Somehow, it should be possible to resolve using GROUP BY and HAVING, but I don't really know how.

    Could someone help what would be the most elegant solution to this problem?

    Thank you so much in advance.

    Maybe:

    SQL >-generating sample data:

    SQL > with books like)

    2. select id 1, the title of 'Twilight', author of "Stephenie Meyer" Union double all the

    3 select 2, "Taking fire", "Suzanne Collins' Union double all the

    4 Select 3, 'Animal Farm', 'George Orwell' of the double

    5)

    6, tags such as)

    7 select 1 book_id, tag "Best Seller" of all the double union

    8. Select 1, 'Science Fiction' from dual union all

    9. Select 1, 'TOP10' from dual union all

    10. Select 2, 'Best Seller' from dual union all

    11. Select 2, 'Roman' from dual union all

    12. Select 2, 'TOP10' from dual union all

    13. Select 3, 'TOP110' from dual

    14)

    15-

    16 - the actual query:

    17-

    18 select b.title

    Books b 19

    20, tags t

    21 where t.book_id = b.id

    22 and t.tag ('Best Seller', 'Science Fiction', 'Top 10')

    23 by b.title group

    24 after having count (*) = 3

    25.

    TITLE

    -------------

    Twilight

    1 selected line.

  • -SQL - GROUP BY clause: fields of nonaggregate mandate

    Hello

    I study data (especially data recovery) and found something interesting.

    When you use an aggregate function in the SELECT clause, it is mandatory to have all fields that are not aggregated in the SELECT clause to be there in the GROUP BY clause.
    For example,.

    SELECT dept_no, Salary
    The EMPLOYEE
    GROUP BY dept_no;

    The SQL above works fine.
    But what happens if the user forgets the dept_no in the GROUP BY clause or the clause GROUP BY itself is missing?
    Certainly, it is a mistake.

    Why this error is not handled by the database. I mean, the database must be smart/pretty smart to add the GROUP BY clause by itself. So let's assume that, if I miss the GROUP BY clause or miss a field no aggregated from the SELECT clause when I get at least an aggregate function on a field with at least a no aggregated field in the SELECT clause, the database should check the GROUP BY clause at compile time and add mandate missed the fields in the GROUP BY clause.

    Example,

    SQL1:_
    SELECT dept_no, Salary
    The EMPLOYEE
    GROUP BY dept_no;

    SQL2:_
    SELECT dept_no, Salary
    The EMPLOYEE;

    Here, the SQL1 and SQL2, both should give me same output without error.

    I can't understand why this is handled?

    Hello

    998478 wrote:
    ... If we mix the aggregated and non-aggregated values, then there must be a GROUP BY clause that contains all non-aggregated values. Why this is handled by the database/compiler itself?

    It IS managed by the compiler itself. The compiler manages to trigger an error. The compiler has no way of knowing if you want to remove something from the SELECT clause, or add something to the GROUP BY clause, or not to use the aggregate functions or use several aggregate functions, or a combination of the above. If the compiler re-writes your code and none of these things done automatically, it would be wrong more often that he was right, and you would (rightly) complain about his behavior.

    For example, it is clearly wrong:

    SELECT    deptno
    ,       job
    ,       SUM (sal)
    FROM       scott.emp
    GROUP BY  deptno
    ;
    

    What is the right way to fix it?

    1. remove something from the SELECT clause

    SELECT    deptno
    ,       SUM (sal)
    FROM       scott.emp
    GROUP BY  deptno
    ;
    

    2. add something to the GROUP BY clause

    SELECT    deptno
    ,       job
    ,       SUM (sal)
    FROM       scott.emp
    GROUP BY  deptno
    ,         job
    ;
    

    3. do not use aggregate functions

    SELECT    deptno
    ,       job
    ,       sal
    FROM       scott.emp
    ;
    

    4. use several aggregate functions

    SELECT    deptno
    ,       MIN (job)
    ,       SUM (sal)
    FROM       scott.emp
    GROUP BY  deptno
    ;
    

    What are all the options, either. For example, the correct solution would be to use analytical functions instead of aggregate functions.
    How can anyone tell which of them is right? They all have the right answer for some problem.

    Moreover, by saying that everying in the SELECT clause must be an aggregate or in the GROUP BY clause is a bit oversimplified.
    Fuller, here's the ABC of GROUP BY:
    When you use a GROUP BY clause or in an aggregate function, then all in the SELECT clause must be:
    (A) a ggregate function,
    (B) one of the expressions "group By."
    (C) adding to C, or
    (D) something that Depends on the foregoing. (For example, if you "GROUP BY TRUNC (dt)", you can SELECT "TO_CHAR (TRUNC (dt), 'Mon - DD')").

    Published by: Frank Kulash on April 13, 2013 13:44
    Additional code examples.

  • SQL query with terms and calculations?

    Hello
    How do I create a query with terms and calculations?
    For example, I have this table


    Start | End |     At work |     Mandatory
    ------------------------------------------------------------------------------------
    1ST JANUARY 13 | JANUARY 11, 13.     Office |          1
    JANUARY 14, 13. 25 JANUARY 13 |     Ministry of the Interior.     0
    04-MRZ-13 | 15-MRZ-13 |     Office |          0
    FEBRUARY 11, 13. FEBRUARY 22, 13.     Office |          1


    Now, if the workplace of the column = office and required column = 0
    the new 'price' column should calculate: (end-start) * $25.00
    and if workplace = Office and required column = 1
    the 'price' column must calculate: (end-start) * $20.60
    any other $0.00

    I tried with the case statement, but I didn't know how
    to calculate my values and display in the virtual column 'price '.

    Something like
    case
    When Working_Place = 'Office' and mandatory = 1
    then...
    else ' 0.00'. "
    end PRICE
    ?????


    Or is that not possible?

    Published by: DB2000 on 12.03.2013 05:09

    Use CASE:

    select  start_dt,
            end_dt,
            working_place,
            mandatory,
            case
              when working_place = 'Office' and mandatory = 0 then (end_dt - start_dt) * 25
              when working_place = 'Office' and mandatory = 1 then (end_dt - start_dt) * 20.60
              else 0
            end price
      from  tbl
    /
    
    START_DT  END_DT    WORKING_PLA  MANDATORY      PRICE
    --------- --------- ----------- ---------- ----------
    01-JAN-13 11-JAN-13 Office               1        206
    14-JAN-13 25-JAN-13 Home Office          0          0
    04-MAR-13 15-MAR-13 Office               0        275
    11-FEB-13 22-FEB-13 Office               1      226.6
    
    SQL> 
    

    SY.

  • SQL Group function

    --General Employee table
    -- Version:  oracle 11g Rel 2
    
    create table employee (ID varchar2(100),first_name varcha2(200),last_name varchar2(200),start_date date,end_date date,city varchar2(100))
    
    select listagg(First_name,',') within group (order by first_name) from employee  group by city ;
    op:
    1. XXX,YYy,ZZZ
    2. AAA,SSS
    
    Excepted OP:
    
    1. 1.XXX,2.YYY,3.ZZZ
    2. 1.AAA,2.SSS
    Need a query sql for obtaining the planned op, please notify

    Thanks in advance
    Carole Kumar

    Edited by: 876377 may 1, 2012 22:04

    876377 wrote:

    --General Employee table
    -- Version:  oracle 11g Rel 2
    
    select listagg(First_name,',') within group (order by first_name) from employee;
    op:
    1. XXX,YYy,ZZZ
    2. AAA,SSS
    
    Excepted OP:
    
    1. 1.XXX,2.YYY,3.ZZZ
    2. 1.AAA,2.SSS
    

    Need a query sql for obtaining the planned op, please notify

    Thanks in advance
    Carole Kumar

    Try to use

    row_number over (partition by ID_COLUMN order by first_name) as RN
    

    And then

    listagg( rn || first_name)
    

    Since you don't validate your description of table we do not know what are the columns, etc... I guessed that the ID column is named ID_COLUMN, adjust accordingly.

  • SQL grouping and summing impossible?

    I want to create a sql query to summarize some data, but I'm starting to think that it is impossible with sql only. The data I have is of the following form:
    TRAN_DT     TRAN_RS     DEBT     CRED
    10-Jan     701     100     0
    20-Jan     701     150     0
    21-Jan     701     250     0
    22-Jan     705     0     500
    23-Jan     571     100     0
    24-Jan     571     50     0
    25-Jan     701     50     0
    26-Jan     701     20     0
    27-Jan     705     0     300
    The data are classified by TRAN_DT and by TRAN_RS. THA grouping and summing data based on tran_rs, but only when it changes. If in the table above, I don't want to see all the first 3 records but only one value DEBT the sum of these 3 i.e. 100 + 150 + 250 = 500. If the table above after grouping would be similar to that below:
    TRAN_DT     TRAN_RS     DEBT     CRED
    21-Jan     701     500     0
    22-Jan     705     0     500
    24-Jan     571     150     0
    26-Jan     701     70     0
    27-Jan     705     0     300
    The TRAN_DT is the last value of the record sum. I undestand that the tran_dt are not selectable. What I've tried so far is the following query:
    select tran_dt,
             tran_rs,
             sum(debt)over(partition by tran_rs order by tran_dt rows unbounded preceding),
             sum(cred)over(partition by tran_rs order by tran_dt rows unbounded preceding) from that_table
    Is it still possible with only sql, any thoughts?

    The report that I am creating in BI Publisher.Maybe it is possible to group the data in the model and my question here?

    The Re: tutorial method Tabibitosan by Aketi Jyuuzou me would be very useful here:

    with sample_data as (select to_date('10/01/2012', 'dd/mm/yyyy') tran_dt, 701 tran_rs, 100 debt, 0 cred from dual union all
                         select to_date('20/01/2012', 'dd/mm/yyyy') tran_dt, 701 tran_rs, 150 debt, 0 cred from dual union all
                         select to_date('21/01/2012', 'dd/mm/yyyy') tran_dt, 701 tran_rs, 250 debt, 0 cred from dual union all
                         select to_date('22/01/2012', 'dd/mm/yyyy') tran_dt, 705 tran_rs, 0 debt, 500 cred from dual union all
                         select to_date('23/01/2012', 'dd/mm/yyyy') tran_dt, 571 tran_rs, 100 debt, 0 cred from dual union all
                         select to_date('24/01/2012', 'dd/mm/yyyy') tran_dt, 571 tran_rs, 50 debt, 0 cred from dual union all
                         select to_date('25/01/2012', 'dd/mm/yyyy') tran_dt, 701 tran_rs, 50 debt, 0 cred from dual union all
                         select to_date('26/01/2012', 'dd/mm/yyyy') tran_dt, 701 tran_rs, 20 debt, 0 cred from dual union all
                         select to_date('27/01/2012', 'dd/mm/yyyy') tran_dt, 705 tran_rs, 0 debt, 300 cred from dual),
         tabibitosan as (select tran_dt,
                                tran_rs,
                                debt,
                                cred,
                                dense_rank() over (order by tran_dt, tran_rs, rownum)
                                  - dense_rank() over (partition by tran_rs order by tran_dt, rownum) grp
                         from   sample_data)
    select max(tran_dt),
           tran_rs,
           sum(debt) debt,
           sum(cred) cred
    from   tabibitosan
    group by tran_rs,
             grp
    order by 1, 2;
    
    TRAN_DT       TRAN_RS       DEBT       CRED
    ---------- ---------- ---------- ----------
    21/01/2012        701        500          0
    22/01/2012        705          0        500
    24/01/2012        571        150          0
    26/01/2012        701         70          0
    27/01/2012        705          0        300
    

    ETA: I added the rownum in analytical functions to take account of the "encounters" where a tran_rs has multiple entries for the same tran_dt. If you have some other unique key to use (for example, the primary key of the table) then I would use instead.

    Published by: Boneist on February 17, 2012 11:41

  • SQL - grouping of cases

    Hello everyone,
    I'm trying to get a count of all nulls v/s of the non-null values in a table. I'm trying to to do this, use the CASE statement.
    I trained the SQL following so far.
    SELECT count(Aj.Asset_Hdr_Id),
           CASE Nvl(Aj.Asset_Hdr_Id,
                0)
             WHEN 0 THEN
              'IS NULL'
             ELSE
              'IS NOT NULL'
           END
      FROM Asset_Jt Aj
     GROUP BY Nvl(Aj.Asset_Hdr_Id, 0);
    It only gives me the desired result. My goal will look like
    2089 IS NULL
    12340 IS NOT NULL
    I get a result that looks like this
    1     0     IS NULL
    2     1     IS NOT NULL
    3     1     IS NOT NULL
    4     1     IS NOT NULL
    5     1     IS NOT NULL

    Try this,

    SELECT COUNT (*), result
      FROM (SELECT CASE NVL (Aj.Asset_Hdr_Id, 0)
                     WHEN 0 THEN 'IS NULL'
                     ELSE 'IS NOT NULL'
                   END
                     result
              FROM Asset_Jt Aj)
    GROUP BY result;
    

    G.

  • PL SQL SQL - group

    Hi all

    Thanks for your time in advance. I have the situation where I need quantities of different domain group but one of the fields must be reorganized. Not sure how best to explain this in the text. But, please see the example below. With the help of 11g
    SELECT 80 AMOUNT, 111 ACCOUNT_NUM, 123 CHECK_NUM FROM DUAL
    UNION ALL
    SELECT 100 AMOUNT, 111 ACCOUNT_NUM, 124 CHECK_NUM FROM DUAL
    UNION ALL
    SELECT 120 AMOUNT, 111 ACCOUNT_NUM, 125 CHECK_NUM FROM DUAL
    Expected result:
    AMOUNT  ACCOUNT_NUM     CHECK_NUM
    200                 111                     123,124,125
    Thank you

    I guess you wanted to say 300 was the amount in your example? (80 + 100 + 120)?

    I have 10g, but here's one way:

    with t as (
    SELECT 80 AMOUNT, 111 ACCOUNT_NUM, 123 CHECK_NUM FROM DUAL
    UNION ALL
    SELECT 100 AMOUNT, 111 ACCOUNT_NUM, 124 CHECK_NUM FROM DUAL
    UNION ALL
    SELECT 120 AMOUNT, 111 ACCOUNT_NUM, 125 CHECK_NUM FROM DUAL
    )
    select sum(amount), account_num,
    RTRIM(XMLAGG(XMLELEMENT(c, check_num||',') order by check_num).EXTRACT ('//text()'), ',') check_nums
    from t
    group by account_num
    
    SUM(AMOUNT)     ACCOUNT_NUM     CHECK_NUMS
    300                     111                   123,124,125
    
  • SQL group by age

    Hi friends
    I have a table like this
    name      birth_date
    john         01.01.1990
    sue          02.05.2000
    abraham    04.07.1998
    ..........
    I want to make a report as
    age      sum
    0-17      30
    18-24    25
    15-34    32
    35-44    14
    45-54     8
    55+        4
    How can I do this?

    The geometrico elsewhere perhaps is just an internal query where you define groups of age, and then outside the Group:

    with dummydata as (
    select 'AAA' name, to_date('01.01.1995','dd.mm.yyyy') birth_date from dual union all
    select 'AAA' name, to_date('01.01.1990','dd.mm.yyyy') birth_date from dual union all
    select 'AAA' name, to_date('01.11.1975','dd.mm.yyyy') birth_date from dual union all
    select 'AAA' name, to_date('01.11.1980','dd.mm.yyyy') birth_date from dual union all
    select 'AAA' name, to_date('01.01.1991','dd.mm.yyyy') birth_date from dual union all
    select 'AAA' name, to_date('01.01.1969','dd.mm.yyyy') birth_date from dual union all
    select 'AAA' name, to_date('01.01.1970','dd.mm.yyyy') birth_date from dual union all
    select 'AAA' name, to_date('01.01.1960','dd.mm.yyyy') birth_date from dual ) 
    
    select age_group , count(*)
    from(
        select
            case
                when trunc( months_between(sysdate, birth_date) / 12 ) <= 17 then '0-17'
                when trunc( months_between(sysdate, birth_date) / 12 ) <= 24 then '18-24'
                when trunc( months_between(sysdate, birth_date) / 12 ) <= 34 then '25-34'
                when trunc( months_between(sysdate, birth_date) / 12 ) <= 44 then '35-44'
                when trunc( months_between(sysdate, birth_date) / 12 ) <= 54 then '45-54'
    
                -- and so on... 
    
                else 'n/a'
            end age_group
        from dummydata
    )
    group by age_group
    order by age_group
    ;
    
    AGE_GROUP   COUNT(*)
    --------- ----------
    0-17               1
    18-24              2
    25-34              1
    35-44              3
    45-54              1
    
    5 rows selected.
    
  • SQL to find the grouped rows that have changed their values?

    Hello
    I wonder if it is a pure SQL way do this...?

    I have a table that has a number of columns:
    InsertionDate
    IDENTITY
    Col - has to pass - z - some data.

    the pair (InsertionDate, identity) is unique.

    The lines represent the same values as they change over time, for example:

    Select * from < mytable > by its identity, InsertionDate;
    Balance InsertionDate identity
    10 February 01-1001 - 100
    11 February 01-1001-1
    1001 12 February 01 50
    10 February 01-1002-10
    11 February 01-1002-10
    1002 12 February 01 76


    I want to do the following:

    Select < myTable > from where InsertionDate and the next InsertionDate have a different value for the balance "grouped by" identity and InsertionDate = "10 February 01»;»»
    [I use "grouped by" with great caution - I can't explain in 'Nick sql' without using the misleading grouped by term]

    To produce the output:

    Balance InsertionDate identity
    10 February 01-1001 - 100
    11 February 01-1001-1

    Select < myTable > from where InsertionDate and the next InsertionDate have a different value for the balance "grouped by" identity and InsertionDate = ' 11 February 01»;»»
    Balance InsertionDate identity
    11 February 01-1001-1
    1001 12 February 01 50
    11 February 01-1002-10
    1002 12 February 01 76

    There may be several columns in addition to the balance that should also be checked for changes.

    See you soon,.
    Karl.

    A little misread your reqs:

    with t as (
               select to_date('10-Feb-01','dd-mon-yy') InsertionDate,1001 Identity,-100 Balance from dual union all
               select to_date('11-Feb-01','dd-mon-yy'),1001,1 from dual union all
               select to_date('12-Feb-01','dd-mon-yy'),1001,50 from dual union all
               select to_date('10-Feb-01','dd-mon-yy'),1002,10 from dual union all
               select to_date('11-Feb-01','dd-mon-yy'),1002,10 from dual union all
               select to_date('12-Feb-01','dd-mon-yy'),1002,76 from dual
              )
    select  InsertionDate,
            Identity,
            Balance
      from  (
             select  InsertionDate,
                     Identity,
                     Balance,
                     row_number() over(partition by Identity order by InsertionDate) rn,
                     lead(Balance,1,Balance - 1) over(partition by Identity order by InsertionDate) next_balance
               from  t
            )
      where balance != next_balance
        and rn != 1
      order by Identity,
               InsertionDate
    /
    
    INSERTION   IDENTITY    BALANCE
    --------- ---------- ----------
    11-FEB-01       1001          1
    12-FEB-01       1001         50
    11-FEB-01       1002         10
    12-FEB-01       1002         76
    
    SQL>  
    

    SY.

  • Replica groups of ' Always on ' SQL Server 2012 - limited to 2 knots on VMWare?

    VMWare KB1037959 provides instructions for Microsoft clustering on VMWare, but does not have SQL Server replica groups cover 2012 "Always on."

    This KB article sets a limit of 2-node MSCS clusters, but also indicates that "the SQL mirror effect is not by VMware to be a clustering solution. VMware supports fully mirroring SQL on vSphere with no specific restrictions. »

    In SQL, 2012 replica groups are a combination of failover Microsoft Cluster Service (MSCS) monitor and SQL database mirroring.  Yo I have to install the 'Fail on Microsoft Cluster' role to implement the SQL replica groups, master didn't have any shared disks.

    I was not able to find guidance on the use of groups of replica SQL 2012 on VMWare.  I hope that it is supported without restriction (as long as you do not use a shared quorum disk), but a strict interpretation of the KB1037959 leads to a limitation of two nodes.

    Can anyone shed more light on this?

    Now the last row of the first table lists:

    Availability of AlwaysOn SQL group Yes Yes1 Yes Yes Even OS/app Yes Yes Yes Yes N/A N/A

    Perhaps this was added recently.

    That answer your question?

  • Consecutive date grouping and find the largest number of consecutive group

    Hi all

    I have given dates and I want to find the largest number of consecutive dates

    WIN_DATE_DATA

    2015-09-22

    2015-09-23

    2015-09-27

    2015-09-28

    2015-09-29

    2015-09-30

    2015-10-1


    In this example, there are 2 group of consecutive dates

    Group 1

    2015-09-22

    2015-09-23

    Group 2

    2015-09-27

    2015-09-28

    2015-09-29

    2015-09-30

    2015-10-1


    The OUTPUT should 5 which is the largest grouping of consecutive number.


    Thanks in advance for the help!




    Please take a look at the Community document: 101 PL/SQL: grouping sequence ranges (method Tabibitosan)

    will allow you to do.

  • ADF security with SQL authentication

    Hello

    I'm new in the adf and weblogic. I use weblogic built-in jdev 12 c 12.1.2.

    I set up the security in my weblogic using this blog.

    http://adfgouravtkiet.blogspot.com/2012/07/Configuring-ADF-security-using-database.html

    It is configured successfully. But after you configure when I restart my weblogic server, it will fail to start. This is stack strace.

    < 16 April 2014 17:46:33 hours CEST > < error > < security > < BEA-090870 > < the domain 'myrealm' could not be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: java.lang.NullPointerException.

    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: java.lang.NullPointerException

    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:341)

    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1812)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:447)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:845)

    Truncated. check the log file full stacktrace

    Caused by: com.bea.common.engine.ServiceInitializationException: java.lang.NullPointerException

    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)

    at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)

    at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)

    at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)

    at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.NullPointerException

    at weblogic.security.providers.authentication.shared.DBMSUtils.verifyHashAlgorithmUsable(DBMSUtils.java:43)

    at weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl.validateConfiguration(DBMSSQLAuthenticatorDelegateImpl.java:167)

    to weblogic.security.providers.authentication.DBMSSQLAuthenticatorDelegateImpl. < init > (DBMSSQLAuthenticatorDelegateImpl.java:77)

    at weblogic.security.providers.authentication.DBMSAuthenticatorDelegateImpl.getInstance(DBMSAuthenticatorDelegateImpl.java:459)

    at weblogic.security.providers.authentication.DBMSSQLAuthenticationProviderImpl.initialize(DBMSSQLAuthenticationProviderImpl.java:55)

    Truncated. check the log file full stacktrace

    >

    < 16 April 2014 17:46:33 hours CEST > < opinion > < security > < BEA-090082 > < security initialization using security realm myrealm. >

    < 16 April 2014 17:46:33 hours CEST > < critical > < WebLogicServer > < BEA-000362 > < server failed. Reason:

    There are 1 nested errors:

    weblogic.security.service.SecurityServiceRuntimeException: security services [Security: 090399] not available

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:921)

    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1058)

    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)

    at weblogic.security.SecurityService.start(SecurityService.java:148)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)

    >

    < 16 April 2014 17:46:33 hours CEST > < opinion > < WebLogicServer > < BEA-000365 > < Server state changed to FAILED. >

    < 16 April 2014 17:46:33 hours CEST > < error > < WebLogicServer > < BEA-000383 > < is not an essential service. The server shuts itself down. >

    < 16 April 2014 17:46:33 hours CEST > < opinion > < WebLogicServer > < BEA-000365 > < Server state has changed to FORCE_SHUTTING_DOWN. >

    Stopping Server Derby...

    Derby server stopped.

    Process is complete.

    [End of IntegratedWebLogicServer.]

    SQL authentication is configured using a data source. If I change the name of blind in weblogic in the config.xml file data source, he throws exception but able to start the server. can any body help to what he's trying to find the data source before inilizing it. Here is my file config.xml

    <? XML version = "1.0" encoding = "UTF - 8"? >

    "" "< domain xmlns ="http://xmlns.oracle.com/weblogic/domain"xmlns:sec ="http://xmlns.oracle.com/weblogic/security"xmlns:wls ="http://xmlns.oracle.com/weblogic/security/wls"" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator/1.0/passwordvalidator.xsd http://xmlns.oracle.com/oracleas/schema/11/jps/weblogic/providers http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/ WebLogic/1.0/Domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd' > '.

    < name > DefaultDomain < / name >

    field < version > 12.1.2.0.0 < / domain-version >

    > security configuration <

    < name > DefaultDomain < / name >

    < domain >

    < sec: authentication - provider xsi: type = "wls:sql - authenticatorType" >

    db_user < sec: name > < / sec: name >

    < sec: control - flag > SUFFICIENT < / sec: control - flag >

    < wls: data-source-name >workdayDS< / wls: data-source-name >

    < wls:plaintext - passwords-activated > true < / wls:plaintext - passwords-enabled >

    < wls:sql - get-users-Word of past > SELECT PASSWORD FROM WORKDAY_USERS WHERE username =? < / wls:sql - get-users-Word of past >

    < wls:sql - user - exists > SELECT name from USER OF WORKDAY_USERS WHERE username =? < / wls:sql - user - exists >

    < wls:sql - list-members-groups > short_name SELECT OF WORKDAY_user_role_grants g, workday_roles r, workday_users u WHERE g.usr_id = AND g.rle_id = r.id AND u.username u.id =? < / wls:sql - list-members-groups >

    < wls:sql - list-users > SELECT USER FROM WORKDAY_USERS WHERE name LIKE USER name? < / wls:sql - list-users >

    < wls:sql - get-user-description > SELECT DISPLAY_NAME FROM WORKDAY_USERS WHERE username =? < / wls:sql - get-user-description >

    < wls:sql - list-groups > SELECT SHORT_NAME FROM WORKDAY_ROLES WHERE SHORT_NAME AS? < / wls:sql - list-groups >

    < wls:sql - group - exists > SELECT SHORT_NAME WORKDAY_ROLES WHERE SHORT_NAME =? < / wls:sql - group - exists >

    < wls:sql - East-members > SELECT u.username OF WORKDAY_user_role_grants g, WORKDAY_users u WHERE u.id = g.usr_id AND rle_id = (SELECT id FROM WORKDAY_roles WHERE short_name =?) AND usr_id = (SELECT id FROM WORKDAY_users WHERE username =?) < / wls:sql - is-member >

    < wls:sql - get-group-description > SELECT name FROM workday_roles WHERE the short_name =? < / wls:sql - get-group-description >

    < wls:password - algorithm > < / wls:password - algorithm >

    < wls:password - style > PLAINTEXT < / wls:password - style >

    < wls:sql - create-user > INSERT INTO WORKDAY_USERS (USERNAME, PASSWORD, DISPLAY_NAME) VALUES (?,?,?) < / wls:sql - create-user >

    < wls:sql - user-delete > DELETE FROM WORKDAY_USERS WHERE username =? < / wls:sql - remove-user >

    < wls:sql - remove group memberships > DELETE FROM WORKDAY_user_role_grants WHERE rle_id = (SELECT id FROM workday_roles WHERE short_name =?) OR usr_id = (SELECT id FROM workday_users WHERE username =?) < / wls:sql - remove group memberships >

    < wls:sql - set-user-description > UPDATE WORKDAY_USERS SET DISPLAY_NAME =? WHERE USERNAME =? < / wls:sql - set-user-description >

    < wls:sql - set-user-word of past > UPDATE WORKDAY_USERS SET PASSWORD =? WHERE USERNAME =? < / wls:sql - set-user-word of past >

    < wls:sql - create group > VALUES INSERT INTO WORKDAY_ROLES (id, short_name, name) (ROLES_SEQ. NEXTVAL,?,?) < / wls:sql - create group >

    < wls:sql - set-group-description > UPDATE workday_roles SET name =? WHERE short_name =? < / wls:sql - set-group-description >

    < wls:sql - Add-Member-to-group > INSERT INTO workday_user_role_grants (id, rle_id, usr_id) VALUES (workday_user_role_grants_seq. NEXTVAL, (SELECT id FROM workday_roles WHERE short_name =?), (SELECT id FROM workday_users WHERE username =?)) < / wls:sql - Add-Member-to-group >

    < wls:sql - remove-member-of-group > DELETE FROM workday_user_role_grants WHERE rle_id = (SELECT id FROM workday_roles WHERE short_name =?) AND usr_id = (SELECT id FROM workday_users WHERE username =?) < / wls:sql - remove-member-of-group >

    < wls:sql - group-delete > DELETE FROM WORKDAY_ROLES WHERE short_name =? < / wls:sql - remove group >

    < wls:sql - delete-Group-members > DELETE FROM workday_user_role_grants WHERE rle_id = (SELECT id FROM workday_roles WHERE short_name =?) < / wls:sql - remove group member >

    < wls:sql - list-group-members > SELECT username FROM workday_user_role_grants g, workday_roles r, u workday_users WHERE g.usr_id = AND g.rle_id = r.id AND r.short_name u.id =? AND u.username AS? < / wls:sql - list-group-members >

    < / sec: authentication - provider >

    < sec: authentication - provider xsi: type = "wls:default - authenticatorType" >

    < sec: name > DefaultAuthenticator < / sec: name >

    < / sec: authentication - provider >

    "< sec: authentication - provider xmlns:prov ="http://xmlns.oracle.com/oracleas/schema/11/jps/weblogic/providers"xsi: type =" prov:trust - service-identity-asserterType ">"

    Trust Service identity Asserter < sec: name > < / sec: name >

    < / sec: authentication - provider >

    < sec: authentication - provider xsi: type = "wls:default - identity-asserterType" >

    < sec: name > DefaultIdentityAsserter < / sec: name >

    < dry: active-type > AuthenticatedUser < / dry: active-type >

    < / sec: authentication - provider >

    "< sec: role - Mapper xmlns:xac ="http://xmlns.oracle.com/weblogic/security/xacml"xsi: type =" xac:xacml - role-mapperType ">"

    < sec: name > XACMLRoleMapper < / sec: name >

    < / sec: role - Mapper >

    "< sec: authorizer xmlns:xac ="http://xmlns.oracle.com/weblogic/security/xacml"xsi: type =" xac:xacml - authorizerType ">"

    < sec: name > XACMLAuthorizer < / sec: name >

    < / sec: authorizer >

    < sec: adjudicator xsi: type = "wls:default - adjudicatorType" >

    < sec: name > DefaultAdjudicator < / sec: name >

    < / sec: adjudicator >

    < sec: credential - Mapper xsi: type = "wls:default - credential-mapperType" >

    < sec: name > DefaultCredentialMapper < / sec: name >

    < / sec: credential - Mapper >

    < sec: cert - path-provider xsi: type = "wls:web - logic-cert-path-providerType" >

    < sec: name > WebLogicCertPathProvider < / sec: name >

    < / sec: cert - path-supplier >

    < sec: cert - road-builder > WebLogicCertPathProvider < / sec: cert - road-builder >

    < sec: name > myrealm < / sec: name >

    "< sec: password - validator = xmlns:pas"http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator"xsi: type =" not: System-Password - validatorType ">"

    < sec: name > SystemPasswordValidator < / sec: name >

    < not: min - password - > 8 length < / not: min - password - length >

    < not: min-digital - or - special-characters > 1 < / not: min-digital - or - special characters >

    < / sec: password - validator >

    < / domain >

    < domain >

    < sec: authentication - provider xsi: type = "wls:sql - authenticatorType" >

    db_user < sec: name > < / sec: name >

    < sec: control - flag > OPTIONAL < / sec: control - flag >

    < / sec: authentication - provider >

    < s: deploy-credential-mapping-ignored > true < / sec: deploy-credential-mapping-ignored >

    RDBMS < sec: name > < / sec: name >

    < / domain >

    field < default > myrealm < / default domain >

    < credentials encrypted > {ESA} oiXGiKafJRTHRLy3teTxciHGGJde23frXWjmnQAK2qQIuRYhySgd6oh/ZsnHQK1u99KboPN4Tjo5uS6tg37hufUPCJIdgDAhAOjBEZHVTXFc4YwQmZ6jdCpqlqEjUOkK < / encrypted credential >

    WebLogic < node-Manager-user name > < / node-Manager-user name >

    {ESA} < node-Manager-password - encrypted > dPzCkXm4Z8SaMVCroCwFXEIvbz/FTMroi8W/aDM7blA = < / node-Manager-password encrypted >

    < use-kss-for-demo > true < / use-kss-for-demo >

    < / security configuration >

    < Server >

    < name > DefaultServer < / name >

    < ssl >

    < name > DefaultServer < / name >

    < enabled > true < / enabled >

    < Listening port >

    8102

    < / Listen-port >

    < two - way ssl compatible > true < / two - way compatible ssl >

    < / ssl >

    < Listening port >

    8101

    < / Listen-port >

    > web server <

    < name > DefaultServer < / name >

    < log-server-web >

    < name > DefaultServer < / name >

    < elf fields > date time cs-method ctx-ctx - sc-status cs - uri DIN ecid < / elf fields >

    <-log file format > extended < / format of log file-->

    < / Web-server log >

    < / web server >

    BRP1LAP16 < listen-address > < / listen-address >

    < tunneling-enabled > true < / tunnel-enabled >

    <-diagnosis-server configuration >

    < name > DefaultServer < / name >

    < diagnosis-context-activated > true < / diagnosis-context-enabled >

    < / config-diagnosis-server >

    defaultCoherenceCluster < consistency cluster-system-resource > < / coherence-cluster-system-resources >

    < / Server >

    < incorporated-ldap >

    < name > DefaultDomain < / name >

    < credentials encrypted > {ESA} WRTXOv5WcAtcIZFA7g9azU4v/ogflkbFEN1TAdhhGbU6R7RiiSfLaouE6fgnkjRg < / encrypted credential >

    < / embedded-ldap >

    configuration < version > 12.1.2.0.0 < / configuration-version >

    < app deployment >

    State-management-provider-memory-rar < name > < / name >

    DefaultServer < target > < / target >

    RAR < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/com.Oracle.State-management.State-management-provider-memory-RAR-impl_12.1.2.rar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    DMS Application #11.1.1.1.0 < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.dms_12.1.2/DMS.war < source path > < / source-path >

    < deployment-order > 5 < / order of deployment >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    < name > wsil-wls #12.1.2.0.0 < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/com.Oracle.WebServices.FMW.WSIL-WLS-impl_12.1.2.ear < source path > < / source-path >

    < deployment-order > 5 < / order of deployment >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    < name > coherence-transaction-rar < / name >

    DefaultServer < target > < / target >

    RAR < module-type > < / module-type >

    < source path - > C:/Oracle12c/Middleware/Oracle_Home/oracle_common /... /Coherence/lib/Coherence-transaction.rar < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < app deployment >

    < name > wsm - h < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.WSM.pm_12.1.2/WSM-pm.ear < source path > < / source-path >

    < deployment-order > 5 < / order of deployment >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / app-deployment >

    < Library >

    [email protected] oracle.sdp.client # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.SDP.client_12.1.2/sdpclient.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.pwdgen # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.pwdgen_12.1.2/pwdgen.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] owasp.esapi # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.owasp_12.1.2/OWASP-esapi.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.wsm.seedpolicies # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.WSM.common_12.1.2/WSM-seed-policies.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] odl.clickhistory # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.odl_12.1.2/clickhistory.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] odl.clickhistory.webapp # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.odl_12.1.2/clickhistory.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > oracle.jrf.system.filter < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.jrf_12.1.2/system-filters.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.jsp.next # < name > < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.jsp_12.1.2/ojsp.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > oracle.dconfig - infra #[email protected] < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.dConfig-infra_12.1.2.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > orai18n-adf #[email protected] < / name >

    DefaultServer < target > < / target >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.nlsgdk_12.1.2/orai18n-ADF.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.dconfigbeans # < name > < / name >

    DefaultServer < target > < / target >

    jar of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.dconfigbeans_12.1.2.jar < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] adf.oracle.domain # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.model_12.1.2/ADF.Oracle.domain.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] adf.oracle.businesseditor # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.businesseditor_12.1.2/ADF.businesseditor.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.management # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.management_12.1.2/ADF-management.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] adf.oracle.domain.webapp # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.view_12.1.2/ADF.Oracle.domain.webapp.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > jsf #[email protected]< / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.jsf_2.1/JSF-RI-21.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > jstl #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:\Oracle12c\Middleware\Oracle_Home\wlserver/common/deployable-libraries/JSTL-1.2.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > UIX #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.uix_12.1.2/uix11.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > ohw - FRC #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.help_5.0/OHW-RCF.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    < name > ohw - uix #[email protected] < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.help_5.0/OHW-UIX.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.desktopintegration.model # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.desktopintegration.model_12.1.2/Oracle.ADF.desktopintegration.model.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.adf.desktopintegration # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.ADF.desktopintegration_12.1.2/Oracle.ADF.desktopintegration.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.jbips # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-jbips-SLIB-stub.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.composer # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-composer-SLIB-stub.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.adf.model.slib # < name > < / name >

    DefaultServer < target > < / target >

    ear of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-ADF-Model-SLIB.ear < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.adf.view.slib # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-ADF-view-SLIB.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    < Library >

    [email protected] oracle.bi.adf.webcenter.slib # < name > < / name >

    DefaultServer < target > < / target >

    war of < module-type > < / module-type >

    C:/Oracle12c/middleware/Oracle_Home/oracle_common/modules/Oracle.bi.presentation_12.1.2/bi-ADF-WebCenter-SLIB.war < source path > < / source-path >

    DDOnly <-security model dd > < / security-dd-model >

    > mode staged < nostage < / scene-mode implementation >

    < / Library >

    <>shutdown-class

    < name > DMSShutdown < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.dms.wls.DMSShutdown < / class name >

    < / stop-class >

    <>start-class

    < name > class start JPS < / name >

    DefaultServer < target > < / target >

    < deployment > 115 order < / order of deployment >

    > class name < oracle.security.jps.wls.JpsWlsStartupClass < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > JPS start after Activation class < / name >

    DefaultServer < target > < / target >

    < deployment-order > 160 < / order of deployment >

    > class name < oracle.security.jps.wls.JpsWlsPostServiceActivationStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > false < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > class start WSM < / name >

    DefaultServer < target > < / target >

    > class name < oracle.wsm.config.WSMServerStartupShutdownProvider < / class name >

    < / start class >

    <>start-class

    < name > class start JRF < / name >

    DefaultServer < target > < / target >

    < deployment > 110 order < / order of deployment >

    > class name < oracle.jrf.wls.JRFStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > ODL-start < / name >

    DefaultServer < target > < / target >

    < deployment > 145 order < / order of deployment >

    > class name < oracle.core.ojdl.weblogic.ODLConfiguration < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > DMS-start < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.dms.wls.DMSStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > class start context AWT Application < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.jrf.AppContextStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    <>start-class

    < name > class start of Web Services < / name >

    DefaultServer < target > < / target >

    < deployment-order > 150 < / order of deployment >

    > class name < oracle.j2ee.ws.server.WebServiceServerStartup < / class name >

    < failure-is-fatal > false < / failure-is-fatal >

    < charge-before-app-deployments > true < / load-front-app-deployments >

    < charge-before-app-activation > true < / load-front-app-activation >

    < / start class >

    store < file >

    < name > mds-GOSA < / name >

    < Directory > store/gmds < / book >

    DefaultServer < target > < / target >

    < / file-store >

    < name-server-admin > DefaultServer < / name of the server-admin->

    < wldf-system-resources >

    Module FMWDFW < name > < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > diagnostics/Module-FMWDFW - 2818.xml < / file-descriptor-name >

    incident creates FMWDFW < description > from non-controlled Exceptions and critical errors < / description >

    < / wldf-system-resources >

    < jdbc-system-resources >

    < name > LocalSvcTblDataSource < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/LocalSvcTblDataSource - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > opss-data-source < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/opss-datasource - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > opss-audit-viewDS < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/opss-auditview - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > opss-audit-DBDS < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/opss-audit - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > mds-GOSA < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/mds-GOSA - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < jdbc-system-resources >

    < name > workdayDS < / name >

    DefaultServer < target > < / target >

    < name-file-descriptor > jdbc/workdayDS-6554 - jdbc.xml < / file-descriptor-name >

    < / jdbc-system-resources >

    < consistency cluster-system-resource >

    < name > defaultCoherenceCluster < / name >

    < name-file-descriptor > coherence/defaultCoherenceCluster - coherence.xml < / file-descriptor-name >

    < / coherence-cluster-system-resources >

    < / domain >

    Data source that I use it is wordayDS.

    I have deleted my domain name and create new ones yet to configure SQL authentication, and it works fine.

Maybe you are looking for

  • Aperture 3 hungry

    I have what I thought, it was an iMac Apple reasonable suitable for mounting all kinds of great images, take a look... iMac 27 inch end 2013, 3.2 GHz intel core i5, 16 GB 1600 MHz DDR3, NVIDIA GeForce GT755M 1024 MB, so why my editing in my opening v

  • I was charged first 8.47 4 times

    I was charged a total of 8.47 4 times in my bank account that I should have been charged once. He would not except my new billing information earlier and then I check my bank account and this amount was deducted 4 times I need a refund of these taxes

  • Table 1 d 2D

    HelloIt is a very rookie question but I'm having a bit of misunderstanding.I have a table 1 dFor example 1 2 3 4And I want to convert it into table 2D with a number of lines and columns.For example, 1 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 4 I don't know i

  • cRIO LVRT duplicate symbol

    I created a cRIO system I duplicated and tried to run it on a second system of cRIO.  It seems that there are questions for the cRIO LVRT start. The Console Out Bootlog is PARTIALLY set here... What would be the cause of all these "duplicate symbol:

  • How can I me gives authorization registry administrator to access/open HKEYs needed for installation of Adobe products?

    Don't know if this is the right place or not, but here goes nothing. I tried and tried to install Adobe Reader 9 or 9.3 and Flash Player 10.0.2.45 on my desktop PC Windows Vista Home Premium (HP Pavilion on 64 bit OS) without success. At half way thr