Problems with Last_value (col Ignore Nulls)

Thank you in advance

I use Last_value (col Ignore Nulls) in Expression

LAST_VALUE (INGRP1. AADT IGNORE NULLS) (ORDER OF INGRP1. ROUTE_ID, INGRP1. COUNTY, INGRP1.CO_ORDR, INGRP1. BEG_MP)

I am getting error can of assistance

Line 2, Col 30:
PLS-00103: Encountered the symbol "IGNORE" when expecting one of the following:

   . ( ) , * @ % & | = - + < / > at in is mod remainder not
   range rem => .. <an exponent (**)> <> or != or ~= >= <= <>
   and or like LIKE2_ LIKE4_ LIKEC_ as between from using ||
   multiset member SUBMULTISET_

Hello

Change the code Generation Mode 'Base set' and the run setting default operating Mode "base set" and redeployment.

Default OWB will generate code with a bunch of different modes including PLSQL focused on the line. You use SQL based unparalleled PLSQL so get a problem compiling for the line section based on the generated code.

See you soon
Davivd

Tags: Business Intelligence

Similar Questions

  • JDev 11 g: problem view VO criteria ignore Null values

    Hello

    I don't know if it's a bug or do something wrong but here is my case:
    I created an original Version of a database table.
    In page view of all of VO, aaa I bind a variable named
    Then I add a criteria-> display I add an element of criteria including bing my previously create variable to an attribute of VO-> I have defined validation on "necessary".
    Then a race my request and made a few test/dev.

    After a while, I needed to change my display criteria 'optional' with 'Ignore Null values' checked.
    I changedit, run my application and the display criteria did not work... I don't add no rows returned when I went to my variable named "null".
    After 1 or 2 days to research, I managed to notice that in fact, an attribute is missing in my VO object source.

    I needed to add explicitly in the XML of the source of this attribute:
    GenerateIsNullClauseForBindVars = 'true '.

    in the desired so ViewCriteriaItem it ignores Null values.

    I tried various combinations of the interface for presentation but non of them generated this attribute set to "true".
    Only when I put the validation 'Optional' and ' ignore values null ' unchecked, GenerateIsNullClauseForBindVars = 'false' appears in the XML source code.

    Is this a bug?
    Here's my version JDev: Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407

    Jack

    To report a bug, you must go through the MOS (aka Metalink). You need a support contract valid to log into MOS.

    Timo

  • Problem with subtotal and grand total using GROUP BY ROLLUP.

    Hi all

    I have a question about the SQL. I need to have the subtotal for each group and total for the entire inside of my request. I've had using GROUP BY ROLLUP to have total subtotal and big inside of my request.

    However, it not successful I want. In addition, my data must be presented in the medium hierarchy. So, I also use CONNECT BY permission inside my request.

    The query returned the results but not as my expected.

    Below is all about the tools used, description of flows, issues, query used, sample data, out of the request as well as the expected results: -.

    Tools used: -.

    • Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Description of the flow: -.

    Lily is an AM of agency which is the highest level of management (LEVEL 1). Kevin is the direct agent under the lilies and the sum of productivity(upstream)

    for each of them must be sum up as the Subtotal. Sarah and Tom is the Unit Manager (UM) (LEVEL 2) who reports to Lily. They have the direct agents (Agent) under each of them which are may, John, Sue and Salwa (LEVEL 3).  There should be a Subtotal for each group of the agent. For example:-May (Agent) is the agent under Sarah (UM) and both of them have productivity and productivity should be sum up as a subtotal for the core group. A GRAND TOTAL is required to summarize all the productivity for each group.

    Problem: -.

    1. The output of my query is appear the subtotal, but the amount is inaccurate because it only to summarize the productivity of agent. The output I expect is summarize the productivity of the agent as well as UNIFIED messaging / AM. For example:-(subtotal = UM / AM.) THE PRODUCTIVITY + AGENT. PRODUCTIVITY)
    2. The total general does not show after the query. The output that I expected is productivity for each groups as shown in the attachment below.                                                   For example:- GRAND TOTAL =(SUBTOTAL+SUBTOTAL+SUBTOTAL)
    3. My data must be submitted in respect of the hierarchy as below: -.

    4. I need to pass the variable in the query and be used as a parameter in the ADF. Agent ID of Lily(AM) pass in the variable as a parameter.

    Here's my query: -.

    SELECT LPAD (' ', 4 *(LEVEL-1))

    || NAME FIRST_NAMEQ,

    TOTAL_MANPOWER,

    SUM_MTD_TOTAL_ANP UPSTREAM,

    level,

    A_AGENT_ID

    Of

    (SELECT B.SID,

    A.UPLINE,

    A.AGENT_ID AS A_AGENT_ID,

    GROUPING (B.SID) agg_am_id,

    GROUPING (A.AGENT_ID) agg_um_id,

    GROUPING (A.Upline) agg_IM_id,

    SUM (B.TOTAL_MANPOWER) TOTAL_MANPOWER,

    SUM (B.MTD_TOTAL_ANP) SUM_MTD_TOTAL_ANP

    OF ABM_AGENT_TEST,.

    ABM_PRODUCTIVITY B

    WHERE A.AGENT_ID = B.AGENT_ID

    ROLLUP GROUP ((A.UPLINE), (A.AGENT_ID, B.SID)))

    START WITH A_AGENT_ID =: HAS

    CONNECT BY PRIOR A_AGENT_ID = UPSTREAM

    ORDER OF FRIARS UPSTREAM;

    Below is the query to create the table and also the data: -.

    -TABLE ABM_AGENT_TEST-

    CREATE TABLE 'ABM_AGENT_TEST '.

    (NUMBER OF 'AGENT_ID',

    VARCHAR2 (50 BYTE) "NAME."

    VARCHAR2 (10 BYTE) "GRADE."

    VARCHAR2 (20 BYTE) "UPSTREAM."

    'REGION' VARCHAR2 (20 BYTE),

    "BRANCH" VARCHAR2 (20 BYTE),

    'THE AGENCY' VARCHAR2 (20 BYTE)

    )

    SAMPLE DATA FROM ABM_AGENT_TEST

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (116, "Lily", "AM", null, null, null, null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (102, 'Tom', 'MU', '116', null, null, null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (110, 'Sarah', 'MU', '116', null, null, null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (100, 'John', 'AGENT', '102', 'Central', 'PJ', 'CPA');

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (109, "Salwa", 'AGENT', '102', 'South', 'MLK', null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (101, 'Howard', 'AGENT', '102', 'North', "Damansara", "AP");

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (103, 'Mary', 'AGENT', '102', 'Central', 'PJ', 'CPA');

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (106, 'Ali', 'AGENT', '110', 'Central', 'JlnPd', null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (111, 'Sue', 'AGENT', '102', 'North', "Damansara", null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (112, "Carron', 'AGENT', '102', 'Central', 'HQ', null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (113, "Siti', 'AGENT', '102', 'Central', 'PJ', null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (114, "Siti FHIMA Dane forecastle', 'AGENT', '102', 'North',"Damansara", null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (105, 'Kathy', 'AGENT', '102', 'Central', 'JlnPd', 'LPK');

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (107, 'Roby', 'AGENT', '110', 'North', "IPH", null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (108, 'Tommy', 'AGENT', '110', 'South', 'MLK', null);

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (104, 'May', 'AGENT', '110', 'Central', 'HQ', 'CPA');

    Insert into ABM_AGENT_TEST (AGENT_ID, NAME, GRADE, upstream, REGION, BRANCH, AGENCY) values (115, 'Kevin', 'AGENT', '116', 'North', "IPH", null);

    -TABLE ABM_PRODUCTIVITY-

    CREATE TABLE 'JEROMEWALTER '. "" ABM_PRODUCTIVITY ".

    (NUMBER OF 'AGENT_ID',

    NUMBER OF "TOTAL_MANPOWER."

    NUMBER OF "MTD_TOTAL_ANP."

    NUMBER OF "MTD_PRODUCTIVITY."

    VARCHAR2 (20 CHAR) "YTD_TOTAL_ANP."

    VARCHAR2 (20 CHAR) "YTD_PRODUCTIVITY."

    "ROW_ID" VARCHAR2 (20 BYTE)

    )

    SAMPLE DATA FOR ABM_PRODUCTIVITY

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (104,1,85000, null, '40000', null, ' 6');

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (102,1,35000, null, '33000', null, ' 7');

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (110,1,25000, null, '25000', null, ' 8');

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (116,1,22000, null, '34000', null, ' 10');

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (109,1,75000, null, '80000', null, ' 2');

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (111,1,25000, null, '25000', null, ' 3');

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (100,1,23000, null, ' 34500', null, "11");

    Insert into ABM_PRODUCTIVITY (AGENT_ID, TOTAL_MANPOWER, MTD_TOTAL_ANP, MTD_PRODUCTIVITY, YTD_TOTAL_ANP, YTD_PRODUCTIVITY, ROW_ID) values (115,1,24000, null, '45000', null, ' 9');

    The output after having received the request and not as my are expected as below: -.

    The result I have espect is as below: -.

    If all goes well, there is a way to solve my question.

    Thank you all and have a nice day

    Hello

    I still don't know how you want to trunking.  You want someone who has a tank of 'AGENT' that lie with its parent in the hierarchy?

    If Yes, you can do the update ROLLUP before you make the CONNECT BY query and claim that summaries are the children of one of the actual lines in the tree, like this:

    WITH got_grp_id AS

    (

    SELECT b.SID, a.upline

    TO_CHAR (a.agent_id) AS a_agent_id

    CASE

    WHEN a.agent_rank = "AGENT".

    AND a.upline IS NOT NULL

    THEN a.upline

    Of OTHER TO_CHAR (a.agent_id)

    END AS grp_id

    p.total_manpower, p.mtd_total_anp

    Of abm_agent_test one

    abm_productivity p

    WHERE a.agent_id = p.agent_id

    )

    got_aggregates AS

    (

    SELECT THE CHECK BOX

    WHEN you GROUP (name) = 0

    THEN the name

    WHEN you GROUP (grp_id) = 0

    THEN "SUBTOTAL".

    ANOTHER "GRAND TOTAL".

    END AS name_s

    CASE

    WHEN you GROUP (upstream) = 0

    THEN upstream

    WHEN you GROUP (grp_id) = 1

    THEN TO_CHAR (: a).

    Of OTHER LAST_VALUE (a_agent_id IGNORE NULLS)

    COURSES (PARTITION BY grp_id

    ORDER OF CASES

    WHEN a_agent_id <> grp_id

    THEN SUM (mtd_total_anp)

    END NULLS FIRST

    ROWS BETWEEN UNBOUNDED PRECEDING

    AND UNBOUNDED FOLLOWING

    )

    END AS parent

    a_agent_id, grp_id

    SUM (total_manpower) AS sum_total_manpower

    SUM (mtd_total_anp) AS sum_mtd_total_anp

    Group of (name) AS g_name

    GROUPING (grp_id) AS g_grp_id

    OF got_grp_id

    GROUP OF ROLLUP (grp_id

    , (name, upstream, a_agent_id)

    )

    )

    SELECT THE CHECK BOX

    WHEN g_grp_id = 0

    THEN LPAD (' ', 4 * (LEVEL - 1))

    END | name_s AS first_nameq

    sum_total_manpower

    sum_mtd_total_anp

    CASE

    WHEN g_name = 0

    THEN THE LEVEL

    4 SOMETHING ELSE

    END as lvl

    a_agent_id

    OF got_aggregates

    START WITH a_agent_id = TO_CHAR (: a).

    Parent = a_agent_id PRIOR CONNECTION

    Brothers and SŒURS of ORDER BY sum_mtd_total_anp

    ;

    Output:

    SUM_

    SUM_ MTD_ A_

    TOTAL_ AGENT TOTAL

    FIRST_NAMEQ MANPOWER _ANP LVL _ID

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

    Lily 1 22000 1 116

    Kevin 1 24000 2 115

    PARTIAL TOTAL 2 46000 4

    Sarah 1 25000 2 110

    May 1 85000 3 104

    PARTIAL TOTAL 2 110000 4

    Tom 1 35000 2 102

    John 1 23000 3 100

    Sue 1 25000 3 111

    Salwa 1 75000 3 109

    PARTIAL TOTAL 4 158000 4

    GRAND TOTAL 8 314000 4

    I changed the column names.  (For example, there is a built-in function called RANK, so this isn't a column name good.  "It's confusing to use upstream to 2 unrealted stuff.)

    I guess just what you want for the LVL column.

    Why is agent_id a NUMBER, but upstream a VARCHAR2?  I expect to be of the same data type, so that upstream may be a foreign key referencing agent_id.

  • Fill with the previous 'not null' value ' Null' known values

    Hi all

    I have the following requirement to fill in missing values (null values) with the "Not null" values known previously available.

    Source of the example:

    Emp_Id Start_Dt LOC Comm Grade

    A101

    01/01/2013

    NJ4000B

    A101

    15/03/2013

    CA4800

    A101

    15/05/2013

    3500C

    A101

    25/07/2013

    2500

    A101

    20/12/2013

    NY5800A

    A101

    14/02/2013

    5000

    A101

    20/05/2014

    DC6000A

    A101

    03/06/2014

    3600C

    A102

    24/05/2013

    THE5000A

    A102

    15/12/20134300

    Expected results values in columns LOC and grades:

    Emp_Id Start_Dt LOC Comm Grade
    A101

    01/01/2013

    NJ4000BA101

    15/03/2013

    CA4800BA101

    15/05/2013

    CA3500CA101

    25/07/2013

    CA2500CA101

    20/12/2013

    NY5800AA101

    14/02/2013

    NY5000AA101

    20/05/2014

    DC6000AA101

    03/06/2014

    DC3600CA102

    24/05/2013

    THE5000AA102

    15/12/2013

    THE4300A

    Any suggestions would be helpful.

    Kind regards

    Arun

    Also, I think that this is a case of analytics. Last_value is perhaps the most appropriate function for the given task:

    Select emp_id

    start_dt

    last_value(loc ignore nulls) over (partition by emp_id arrested by start_dt) loc

    comm

    last_value(grade ignore nulls) about category (partition by emp_id arrested by start_dt)

    t

  • Function of lag ignoring NULL values in 10g

    I have the following query that works well in 11g. I want to rewrite the query in 10g and get the same set of results. Because the offset ignoring NULL values, I used below is a new feature in 11g, someone can help me in rewriting the query below.

    Prop1 - String, evar11 - String

    Select prop1, evar11,.

    lag (Prop1 ignores Nulls) over (partition by order of period_key of visit_page_num, visit_num, visid_low, visid_high) as prop1_lag
    from TABLE_A

    where period_key = '20131012' - DATE

    order of visit_page_num

    Thanks in advance,

    H.

    Hello

    In Oracle 10, you can use LAST_VALUE... ROWS BETWEEN UNBOUNDED PRECEDING AND 1 PREVIOUS instead of LAG.

    As I don't have your table, I'll use scott.emp to illustrate:

    SELECT hiredate, ename, comm

    MOST LAG (comm IGNORE NULLS) (ORDER BY hiredate, ename) AS lag_comm

    , LAST_VALUE (comm IGNORE NULLS) OVER (ORDER BY hiredate, ename)

    ROWS BETWEEN UNBOUNDED PRECEDING

    AND 1 PRECEDING

    ) AS last_value_comm

    FROM scott.emp

    ORDER BY hiredate, ename

    ;

    The output shows that LAG and LAST_VALUE produce the same results:

    HIREDATE ENAME LAG_COMM LAST_VALUE_COMM COMM

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

    DECEMBER 17, 80 SMITH

    FEBRUARY 20, 81 300 ALLEN

    FEBRUARY 22, 81 WARD 500 300 300

    2 APRIL 81 JONES 500 500

    MAY 1, 81 BLAKE 500 500

    JUNE 9, 81 CLARK 500 500

    08 SEP-81 TURNER 0 500 500

    28 SEP-81 MARTIN 1400 0 0

    NOVEMBER 17, 81 1400 1400 KING

    DECEMBER 3, 81 1400 1400 FORD

    DECEMBER 3, 81 JAMES 1400 1400

    JANUARY 23, 82 1400 1400 MILLER

    APRIL 19, 87 SCOTT 1400 1400

    MAY 23, 87 1400 1400 ADAMS

    To run the Oracle 11.1 or earlier, comment out the call to the LAG.

  • Just recently, I receive the following error message when you try to access the web sites. I get a pop-up window indicating "Exc in ev handl: TypeError: c.location is null" then I have to click ok. There is a problem with some plugin?

    Just recently, I receive the following error message when you try to access the web sites. I use Firefox browser version 10.0.2. I get a pop-up window indicating "Exc in ev handl: TypeError: c.location is null" as the web site page is displayed in the browser winder. So, I have to click ok. Any link/website I go to what happens. There is a problem with some plugin?

    It is only a problem for the SiteAdvisor users who are still on 3.4. This problem is resolved in the latest version of SiteAdvisor, which is 3.4.1.195. Go to http://siteadvisor.com and click on download. This will fix the problem.

    Meanwhile, SiteAdvisor team will push down a JS update in the coming days 1-2 to automatically resolve this problem in version 3.4.

  • Automatic update arrived and installed himself, but then told me that it was incompatible with my Mac version: 10.5.8. Firefox version 3.6.26 is now about it. It seems to work even. Y at - it's going to be a problem or should I ignore this message?

    Automatic update arrived and installed himself, but then told me that it was incompatible with my Mac version: 10.5.8. Firefox version 3.6.26 is now about it. It seems to work even. Y at - it's going to be a problem or should I ignore this message?
    If I need to can replace it where I get an older version?
    Thank you

    Firefox 4 versions and later, do not run on a PowerPC Mac and require at least OS X 10.5 and an Intel Mac.

    The latest support for your operating system version is 3.6.26 , you are fully updated.

    For more information, see:

    Firefox 3.6 system requirements

    Firefox 10 system requirements

    [For older Mac that are not supported in versions of Firefox 4 +, if you want, try TenFourFox for PowerPC currently running Mac 10.4.11 and 10.5.8]

    http://www.floodgap.com/software/tenfourfox/

    http://tenfourfox.blogspot.com/

    https://code.Google.com/p/tenfourfox/wiki/PluginsNoLongerSupported

    Thank you

    Please check 'Resolved' the answer really solve the problem, to help others with a similar problem.

  • I have problem with value NULL when the use CASE statement please help this question

    I have problem with value NULL when the use CASE statement please help this question


    Table: digital_val

    SNO cl C2

    1 San1 11

    2 22 San2

    Actual result: expected to A         B

    A            B                                                                           11        22

    11 NULL

    22 NULL



    query:

    Select case when c1 = "san1" then c2,.

    case If c1 = "san2" then c2 B

    of digital_val

    I'm more curious why, when you select 2 rows, you expect a result of row?

    WITH digital_val

    AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)

    UNION ALL

    2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)

    SELECT CASE WHEN c1 is "San1" THEN END AS A c2.

    CASE WHEN c1 = "San2" THEN END AS B c2

    OF digital_val;

    With no other input, if you select 2 rows, you get 2 rows.  One of the other solutions use a max function, but is this really what you want, does not specify?

  • function of nth_value() with IGNORE NULLS in oracle 10g

    Is there an easy way to imitate the function of ORACLE 11 g nth_value() with IGNORE NULLS clause in 10g or earlier version of Oracle?
    SQL> select  ename,
      2          sal,
      3          nth_value(sal,5) over() fifth_min_sal
      4    from  emp
      5    order by sal
      6  /
    
    ENAME             SAL FIFTH_MIN_SAL
    ---------- ---------- --------------
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    
    ENAME             SAL FIFTH_MIN_SAL
    ---------- ---------- --------------
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    
    14 rows selected.
    
    SQL> select  ename,
      2          sal,
      3          min(case rn when 5 then sal end) over() fifth_min_sal
      4    from  (
      5           select  ename,
      6                   sal,
      7                   row_number() over(order by sal nulls last) rn
      8             from  emp
      9          )
     10    order by sal
     11  /
    
    ENAME             SAL FIFTH_MIN_SAL
    ---------- ---------- --------------
    SMITH             800           1250
    JAMES             950           1250
    ADAMS            1100           1250
    WARD             1250           1250
    MARTIN           1250           1250
    MILLER           1300           1250
    TURNER           1500           1250
    ALLEN            1600           1250
    CLARK            2450           1250
    BLAKE            2850           1250
    JONES            2975           1250
    
    ENAME             SAL FIFTH_MIN_SAL
    ---------- ---------- --------------
    SCOTT            3000           1250
    FORD             3000           1250
    KING             5000           1250
    
    14 rows selected.
    
    SQL> 
    

    SY.

  • Vista seems to ignore the free arp packets. There are details about this problem with Vista?

    There are details about this problem with Vista?  Thks Jerry

    Hi Jerry.Smith

    You can check this link for more information:

    http://social.technet.Microsoft.com/forums/en-us/winserverPN/thread/c6cb9f57-7D5D-4B75-A79A-ff0806300fbe

    After back and let us know if it helped to solve your problem.

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Lag() ignore null values performance

    Hello

    I have looked around, but didn't find everybody talks about performance problems specifically with the use of 'IGNORE NULLS' inside of an analytic function of LAG() in a view online.

    This is a cut from the version of my sql, isolated to the question under discussion.

    select * from (
      SELECT /* use_nl (j,gjt,jt) */
         jt.id
        ,COALESCE
          (lag(jt.my_column ignore nulls /* this is the nasty critter */
            ) over (order by jt.order_seq)
          ,0
          )+1 AS start_days
        ,coalesce
          (jt.my_column
          ,last_value(jt.my_column ignore nulls
            ) over (order by jt.order_seq desc)
          ) AS end_days
      FROM  a,bunch,of,tables
      WHERE ...
      ) jt 
    where jt.id = '123456'
    

    If I remove ignores NULL values in the offset, there is no performance problem.

    Last_value() is not affected.

    If I do not use a view inline then performance is very good, although it is no different to explain the plan.

    select ..
    from ...
    where ...
    and id = '123456'
    

    Has anyone come across something like this, or have any suggestions?

    Happy to try to build a test scenario if it contributes to the discussion, but I thought I would just ask the question first.

    Scott

    Scott.Wesley wrote:

    Hello

    I have looked around, but didn't find everybody talks about performance problems specifically with the use of 'IGNORE NULLS' inside of an analytic function of LAG() in a view online.

    If I remove ignores NULL values in the offset, there is no performance problem.

    Last_value() is not affected.

    If I do not use a view inline then performance is very good, although it is no different to explain the plan.

    1. Select...
    2. Of...
    3. where the...
    4. and id = '123456'

    Scott,

    He would not have anything to do with your real problem, since you say that you get different performances during the removal of the IGNORE NULLS clause, but I doubt that you get exactly the same execution plan when online display is deleted these two queries are typically semantically the same.

    If you use the inline view, Oracle cannot push the filter on the ID in the view if the analytical functions partitions not by this ID, because the result will not be the same for the steps: with the online mode, the data is transformed without filtering for the evaluation of the expressions of the LAG etc, and then the filter is applied.

    If you remove the inline view and filter directly, it has a quite different meaning because now the data will be filtered first and then the analytical functions apply to the filtered result set.

    So the case of inline view maybe has to deal with a completely different volume (larger) identical to the variant of view data not online according to the selectivity of the filter - which could explain that the clause "IGNORE NULLS" made a significant difference in performance on this larger volume of data to deal with, but not necessarily.

    Randolf

  • Problem with hierarchical query in function PL\SQL

    I have a simple table containing the ID of the parent

    -Create table

    create the table1 table:

    (

    ID NUMBER (12) not null,

    year number 4.

    month NUMBER (2),

    parent_id NUMBER (12)

    );

    -Create/recreate primary, unique and foreign key constraints

    change the table1 table:

    Add primary key constraint PK_TABLE1 (ID);

    change the table1 table:

    Add the foreign key constraint FK_TABLE1_PARENT (PARENT_ID)

    reference TABLE1 (ID);

    data:

    Insert into TABLE1 (id, year, month, parent_id)

    values (5, 2015, 12, 3);

    Insert into TABLE1 (id, year, month, parent_id)

    values (6 (2015), 12, 4);

    Insert into TABLE1 (id, year, month, parent_id)

    values (3 (2015), 11, 1);

    Insert into TABLE1 (id, year, month, parent_id)

    values (4 (2015), 11, 2);

    Insert into TABLE1 (id, year, month, parent_id)

    values (1, 2015, 10, null);

    Insert into TABLE1 (id, year, month, parent_id)

    values (2 (2015), 10, null);

    commit;

    and query

    with h as

    (select t.id, t.year, t.month, CONNECT_BY_ROOT t.id as parent_id from table1 t

    where t.year = 2015 and t.month = 12

    and CONNECT_BY_ROOT t.year = 2015 and CONNECT_BY_ROOT t.month = 10

    connect by prior t.id = t.parent_id)

    Select * from:

    Join table1 t left t.id = h.parent_id;

    It works, but when I put this request in the procedure pl\sql

    create or replace procedure is get_report (p_cur_out on sys_refcursor)

    Start

    Open the p_cur_out for

    with h as

    (select t.id, t.year, t.month, CONNECT_BY_ROOT t.id as parent_id from table1 t

    where t.year = 2015 and t.month = 12

    and CONNECT_BY_ROOT t.year = 2015 and CONNECT_BY_ROOT t.month = 10

    connect by prior t.id = t.parent_id)

    Select * from:

    Join table1 t left t.id = h.parent_id;             

    end get_report;

    /

    They do not compile. And in the fall, with the exception

    Errors of compilation for the PC of the PROCEDURE. GET_REPORT

    [Error: PL/SQL: ORA-00600: internal error code, arguments: [qctcte1], [0], [], [], [], [], [], [], [], [], []]

    Online: 6

    Text: with h as

    Error: PL/SQL: statement ignored

    Online: 6

    Text: with h as

    My version of oracle

    1Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    2PL/SQL Release 11.2.0.3.0 - Production
    3CORE Production 11.2.0.3.0
    4AMT for Linux: Version 11.2.0.3.0 - Production
    5NLSRTL Version 11.2.0.3.0 - Production

    What is the problem with my request? Or database? How to solve this problem?

    If you have access to MOS, you can search the reason of it. If you are using left join syntax instead of joining ANSI, owner Oracle procedure compiles and returns the result.

  • Problem with the simple query.

    Hi all

    I am facing problem with the query below

    Select A.COL1, A.COL2

    B.COL1, B.COL2

    FROM TABLE1 A

    TABLE 1 B

    WHERE A.header = '123'

    AND B.header = '123'

    AND nvl (A.COL6, 'ABC') = 'ABC '.

    AND NVL (B.COL6, 'DEF') = 'DEF '.

    Basically, my requiremenyt is: I have only one table, TABLE1 here, which has a line two lines (for the same header) as "ABC" and another is "DEF". Table 1 has two columns (col1, col2) that should be displayed for both lines.

    When the header has two records in table1 top query works. and but if I do not have a record for any header example there are a record for "abc" in col6 only. so my query above does not work because there is no record for 'DEF' in col6. But I want to again request to fecth the output (for b.col1 and b.col2 should have null values)

    could you pls suggest me how to get the 4 columns.

    Thanks in advance

    Kind regards

    UVA.

    Try to place the status of outer join on column: analytical_criterion_code as

    and nvl (AUDIT.analytical_criterion_code, 'AUDIT2') = 'verification2. '

    .

    .

    and nvl (TRANS.analytical_criterion_code, 'TRANS2') = 'TRANS2.

    In the sub query based on the opinions that you have given in post # 1, although there is no value "DEF * ' for col6 due to the condition of outer join on b.col6 (+) line is extracted with b.col [1,2,3] as NULL values. Try to remove the (+) sign b.col6 and test.

    with t as)

    Select 111 col1, col2 'aaa', 'ABC' col6 123 header of all the double union

    Select 222 'bbb', 'DEF' col6, 123 double header

    )

    q as (select 123 double header)

    Select A.COL1, A.COL2, A.COL6

    B.COL1, B.COL2, b.COL6

    q.header

    T a

    t b

    q

    where a.col6 (+) = 'ABC '.

    and b.col6 (+) = "DEF."

    and q.header = a.header (+)

    and q.header = b.header (+)

  • I have problems with my header image position in browsers. white space above it in pc, safari, crome then to right in firefox.

    nydogworks.NET

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    < title > NYDogWorks Long Island dog training and behavior < /title >

    < name meta = "description" content = "Serving all of Long Island, Nassau and Suffolk. NYDogWorks specializes in dog training, dog behavior and puppy training. ">

    < name meta = "keywords" content = "dog training, dog training, dog, long island trainer long island dog obedience, puppy training course" >

    < link href = "css/mainstyle.css" rel = "stylesheet" type = "text/css" / > "

    < script type = "text/javascript".

    src = » http://AJAX.googleapis.com/AJAX/libs/jQuery/1.4.1/jQuery.min.js "> < / script > <!-start of the mandatory code below - > '.

    < href = "" css/dropdown.css a link "media ="screen"rel ="stylesheet"type =" text/css"/ >"

    ".. href="css/default.advanced.css a link "media ="screen"rel ="stylesheet"type =" text/css"/ >

    <!-[if lt IE 7] >

    "< script type =" text/javascript"src="js/jquery/jquery.js "> < / script >

    "< script type =" text/javascript"src="js/jquery/jquery.dropdown.js "> < / script >

    <! [endif]-->

    <!-/-> END

    < link href = "css/overlay - apple.css" rel = "stylesheet" type = "text/css" / >

    "< script src="js/jquery.tools.min.js "> < / script >

    < style >

    div.apple_overlay h2 {}

    margin: 10px 0 - 9px 0;

    color: #222;

    make-weight: bold;

    do-size: 14px;

    }

    div. Black h2 {}

    color: #222;

    }

    #apple {}

    margin-top: 10px;

    float: left;

    Width: 250px;

    padding-right: 10px;

    }

    #apple img {}

    background-color: #fff;

    padding: 2px;

    border: 1px solid #ccc;

    margin: 2px 5px;

    cursor: pointer;

    -moz-border-radius: 4px;

    -webkit-border-radius: 4px;

    }

    {body

    margin-right: auto;

    left margin: auto;

    }

    < / style >

    <!-[if lt IE 7] >

    < style >

    {div.apple_overlay}

    background-image: url (http://static.flowplayer.org/tools/img/overlay/overlay_IE6.gif);

    color: #fff;

    }

    / * by default positioned top right close button * /.

    div.apple_overlay div.close {}

    background-image: url (http://static.flowplayer.org/tools/img/overlay/overlay_close_IE6.gif);

    }

    < / style >

    <! [endif]--> < script type = "text/javascript" >

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script > < script type = "text/javascript" >

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    < /script >

    < script type = "text/javascript" >

    var _gaq = _gaq. [];

    _gaq.push (['_setAccount ',' UA-26177215-1 ""]);

    _gaq.push (['_trackPageview ']);

    (function() {}

    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;

    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";

    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);

    })();

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script >

    < / head >

    < body onload = "MM_preloadImages ("images/nydogworks-logo-hover.png','images/formation-services-le. jpg','images/behavior-therapy-on.jpg','images/off-leash-training-on.jpg') ">"

    < div id = 'wrapper' > < div id = "header" >

    < div id = "logoBox" > < a href = "index.html" MM_swapImgRestore"onmouseover =" MM_swapImage ('Image3', ",' images/nydogworks-logo - hover.png', 1)" > < img src = "images/nydogworks - logo.png" alt = 'NY Dogworks' name = "3" width = "280" height = "200" border = "0" id = "3" / > < /a > < / div > "

    < div id = 'slogan' > serving all the Long Island, Nassau & amp; Suffolk Counties < br / >

    Serving also Manhattan, Brooklyn & amp; Queens

    < / div > < div id = "address" >

    < h2 > < img src = "images/calltogetstarted.png" width = "473" height = "74" alt = "Call to start" / > < / h2 > "

    < / div > < div id = 'mainNav' > <!-start of the code required below->

    < ul class = "drop-down horizontal menu dropdown" id = "nav" name = "nav" >

    < li > < a href = ' all-New York - dog - works.html "> about us < /a > < /li >

    < li > < a href = "long-island-dog-training - program" class = "dir" > < /a > training programs

    < ul >

    < li > < a href = "basic - obedience.html" > in the House of dogs < /a > < /li >

    < li > < a href = "dog-behavior - therapy.html" > < /a > < /li > behavioral therapy

    < li > < a href = "Council-and-train-dog - program.html" > consulting & training program < /a > < /li >

    < li > < a href = ' off-leash - training.html ' > Off Leash training < /a > < /li >

    < li > < a href = ' Puppy-training - program.html "> training Puppy < /a > < /li >

    < /ul >

    < /li >

    < li > < a href = "dog-trainer - testimonials.html" class = "dir" > stories < /a > < /li >

    < li > < a href = "contact-long-island-dog - trainer.html" class = "dir" > contact us < /a > < /li >

    < /ul >

    <!-/ END--> < / div >

    < / div >

    < div id = "container" >

    < div id = "imgholder" > < a href = "long-island-dog-training - program" > < img src = "images/hand - header.jpg" alt = "private dog training long island new york" width = "951" height = "416" border = "0" / > < / has >

    "< div id ="program1"> < a href =" long-island-dog-training - program "MM_swapImgRestore" onmouseover = "MM_swapImage ('Image6 '", ' images/training-services - we .jpg ', 1) "> < img src =" images/training - services.jpg ' alt = 'dog training services' name = 'Image6"width ="315"height ="137"border ="0"id ="Image6"/ > < /a > < / div >

    "< div id ="program1"> < a href =" Council-and-train-dog - program.html ' MM_swapImgRestore "onmouseover ="MM_swapImage (' picture5 '", ' images/boarding_training - we .jpg ', 1)" > < img src = "images/Boarding_training.jpg" alt = "consulting and training program for dogs" name = "Picture5" width = "315" height = "137" border = "0" id = "Picture5" / > < /a > < / div > "

    "< div id ="program1"> < a href =" dog-behavior - therapy.html ' MM_swapImgRestore ' onmouseover =

    "MM_swapImage ('Image7'",' images/Behavior_therapy2 - we .jpg ', 1) "> < img src =" images/Behavior_therapy2.jpg"alt ="behavior therapy"name = width"Image7"="311"height ="137"id ="Image7"border ="0"align ="right"/ > < /a > < / div >"

    < / div >

    < div id = "pageContentNoside" >

    < div id = "sideSub" >

    Dog training services < h2 > < br / >

    < / h2 >

    < ul id = "subnav" >

    < li > < a href = "basic - obedience.html" > obedience base < /a > < /li >

    < li > < a href = "dog-behavior - therapy.html" > < /a > < /li > behavioral therapy

    < li > < a href = "Council-and-train-dog - program.html" > consulting & training program < /a > < /li >

    < li > < a href = ' off-leash - training.html ' > Off Leash training < /a > < /li >

    < li > < a href = ' Puppy-training - program.html "> training Puppy < /a > < /li >

    < /ul >

    < br / >

    < iframe src = "/ / www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F NYDogWorks % 2F219268038151244% 3Ffref % 3Dts & amp;" width = 248 & amp; height = 558 & amp; show_faces = true & amp; ColorScheme = light & amp; stream = true & amp; border_color = % 23FFFFFF & amp; header = false"scrolling =" "frameborder ="0"style =" border: none; " overflow: hidden; Width: 248px; height: 558px; "allowTransparency ="true"> < / iframe >

    < p > < br / >

    < /p >

    < p > < / p >

    < p > < img src = "images/4449da18fc3aa2f249d17dc90ebd5531.jpg" width = "145" height = "136" / > < br / > "

    < /p >

    < / div >

    < div id = "mainContentFeature1" >

    < h2 > welcome to NY Dogworks < / h2 >

    < p > < img src = "images/dog-break - through.jpg" alt = "new york dog trainer" width = "136" height = "170" class = "h_img_float_right" / > our private, a training courses are conducted at your home by a certified professional trainer and Expert in behavior. Lessons are adapted to fit what you want to do with your puppy or adult dog. < br / >

    < br / >

    We use a humane, positive and scientifically rigorous approach that makes it easy for you and your dog to succeed. Our instructions are broken down into simple steps that everyone can participate in the training and be able to practice with the family. < br / >

    < br / >

    < span class = "employeeName" > call today for a free Consultation!      </span > < / p >

    < p > do not have the time or patients to do the training? Well, NY DogWorks has the answer... We now < a href = "Council-and-train-dog - program.html" > Committee and train programs < /a > in our Center of beautiful in the house owner & amp; Trainer Brian DeMartino. It is a program of 2 to 6 weeks which is guaranteed 100%. Your dog will stay with us, without collecting additional taxes if we believe that it is not ready to move. This program may be for burglary, puppy training, socialization / obedience & amp; Manners / problem behaviours such as aggression, anxiety or fears / staff / training leaves an advanced Protection and much more... < /p >

    < p > we also < a href = "Council-and-train-dog - program.html" > < /a > dogs in our facility on board if you go far and that your animal of the family to be taken care 24/7 as is he or she was one of us. A lot of game time, walks, individual attention, grooming, if necessary, the comfortable sleeping areas, with their own bed and lots lots of love... < /p >

    < p > let us help you have the relationship you and your dog deserve... < br / >

    < br / >

    < strong > we accept now < facilities > < br / >

    < img src = "images/creditcards.jpg" width = "228" height = "43" alt = "now accepts credit cards" / > < br / > "

    < br / >

    < br / >

    < /p >

    < p > < br / >

    < /p >

    < p > < br / >

    < br / >

    < / div >

    < div id = "mainContentFeature2" >

    < form action = "form.php" method = "post" name = "form2" id = "form2" > < table width = "279" border = "0" cellpadding = "2" cellspacing = "2" > "

    < b >

    < td width = "273" > < Contact fast h2 > < / h2 > < table >

    < /tr >

    < b >

    < class td = "mainContent" > your name < table >

    < /tr >

    < b >

    < td > < span class = "style9" >

    < input name = "forname" type = "text" class = "colorfieldssmall" id = "forname" size = "20" / >

    </span > < table >

    < /tr >

    < b >

    < class td = "mainContent" > your Email address * (required) < table >

    < /tr >

    < b >

    < td > < span class = "style7 style9" >

    < input name = "Admail" type = "text" class = "colorfieldssmall" id = "Admail" size = "25" / >

    </span > < table >

    < /tr >

    < b >

    < class td = "mainContent" > < table > phone number

    < /tr >

    < b >

    < td > < span class = "style7 style9" >

    < input name = "phone" type = "text" class = "colorfieldssmall" id = "phone" / >

    </span > < table >

    < /tr >

    < b >

    < td > < span class = "mainContent" > Type of dog training </span > < table >

    < /tr >

    < b >

    < class td = "mainContent" > < span class = "style9" >

    < select name = "need" class = "colorfieldssmall" id = 'need' >

    < option value = "A SΘlectionner" > select a < / option >

    < option value = "basic obedience" > obedience based < / option >

    < option value = "Behavior therapy" > behavioral therapy < / option >

    < option value = "Council and Train" > Board and Train < / option >

    < option value = "Off Leash Training ' > Off Leash training < / option >

    < option value = 'Puppy Training' > training Puppy < / option >

    < / select >

    </span > < table >

    < /tr >

    < b >

    < td > < span class = "mainContent" > feedback </span > < table >

    < /tr >

    < b >

    < td > < textarea name = "comments" id = cols 'comments' = '24' ranks '8' = > < / textarea > < table >

    < /tr >

    < b >

    < td > < div align = "left" >

    < input type = "submit" name = "submit" id = "submit" value = "Submit" / >

    < / div >

    < table >

    < /tr >

    < / table > < / make >

    < h2 > < br / >

    We are available in the following areas: < / h2 >

    < p > Long Island, Nassau County, Suffolk County, Manhattan, Brooklyn, Bronx, & amp; Queens. < /p >

    < p > * we pick up and drop off services for your pet for boarding and the boarding and training. < br / >

    < /p >

    Dog training testimonials < h2 > < br / >

    < / h2 >

    < p > Send to Brian Otis to Board and train program has been the best decision I ever made.  After being told Otis could not be helped, and it should be watched, I was devastated.  Otis is Brian program from a few weeks back and is extremely docile and friendly.  It's the same pup we brought back a few years previously, but more calm and without any aggression.  We are working on obedience Otis' every day and walk him and he put on the conveyor belt.   Thanks to Brian, our dog is carefree and more affordable.  The list goes on and the way that Brian has helped the family, myself and especially Otis.  If you are having problems with your dog, especially problems of behaviour and aggression, my advice to you is to trust Brian.  Your dog will be in good hands with a safe, reliable, responsible, in love with dog that will treat your dog as her own. < br / >

    < span class = "testimonalName" > < strong > < br / >

    Victoria Zilli < br / >

    < facilities > < / span > < span class = "mainContent" > Long Island, New York </span > < br / >

    < br / >

    < a href = "dog-trainer - testimonials.html" > read more dog training work < /a > < br / >

    < br / >

    < br / >

    < br / > < / div >

    < div id = "bread crumbs" >

    < p > < a href = "index.html" > home < /a > & gt; Welcome to the premier NYC dog training company, NY DogWorks < br / >

    < strong > serving all of Long Island, Nassau & amp; The County of Suffolk, Manhattan, Brooklyn, & amp; Queens < facilities > < br / >

    < /p >

    < / div >

    < / div >

    < div id = "footer" >

    < div id = "footermenu" >

    < div id = "footermenu1" >

    < / div >

    < / div >

    < div class = 'phone number' id = 'copyright' > Copyright © 2014 NY DogWorks < / div >

    " < div class ="stuck"id ="sitedesigner"> site on Long Island Web design by < a href =" http://www.wetribet.com "title = 'Wet Ribet' target = '_blank' class ="medlink"> wet Ribet < /a > < / div > "

    < / div >

    < / div >

    < / div >

    < / body >

    < / html >

    You can replace your code with my code - then it should work.

  • Problem with cursor and Transactions

    Hi friends,

    I will carry out the sub set of orders where some records are removed as a transaction. If there is no problem with a set of transactions, this recordset is ignored and following Recordset is executed. With code below, if an error occurs in one of the statement, control passes to the exception block where it cancels the registration point and unwanted instructions are restored. So far so good. But the problem is execution stops here. I need to skip this record id and loop for remaining IDs. Help, please.


    create or replace PROCEDURE DeleteRecords
    AS
    SelectDate date: = SysDate () - 27;
    NRTSI varchar2 (100);
    CURSOR c_TrnInfoNull IS select id from trn_info where CREATED_TISTMP < SelectDate and trn_tistmp is set to null;
    BEGIN

    FOR myrows IN c_TrnInfoNull LOOP
    SAVEPOINT TrnSavePointNull;
    delete from TRN_ERROR_DETAIL where TRN_INFO_ID = myrows.id;
    Select code from NRTSI from TRN_PYMT_DETAIL where trn_info_id = myrows.id;
    delete from TRN_PYMT_ADDNL_DATA where TRN_PYMT_DETAIL_ID = NRTSI;
    delete from TRN_PYMT_DETAIL where ID = NRTSI;
    delete from trn_info where id = myrows.id;
    COMMIT;
    END LOOP;

    EXCEPTION, THEN, THEN go BACK to TrnSavePointNull.
    DBMS_OUTPUT. Put_line (dbms_utility. FORMAT_ERROR_BACKTRACE());
    END;
    create or replace PROCEDURE DeleteRecords
    AS
    SelectDate date:= SysDate()-27;
    TRNID varchar2(100);
    CURSOR c_TrnInfoNull IS select id from trn_info where CREATED_TISTMP
    

Maybe you are looking for