Query issue with 9i database only

Hi,
I am getting this strage error in 9i database only for the following query. It works perfectly fine in any 8i databases. The query is executed from schema user X with all the referenced tables from schema user B.
ERROR at line 1:
ORA-03113: end-of-file on communication channel
SELECT COUNT (ref_id), gparent_id, ref_id, ref_value
FROM (SELECT (SELECT ref_id
FROM sams_sec_application_setup
WHERE setup_id = a.setup_id) ref_id,
(select ref_id from sams_sec_application_setup where setup_id =
(SELECT parent_id
FROM sams_sec_application_setup
WHERE setup_id =
(SELECT parent_id
FROM sams_sec_application_setup b
WHERE setup_id = a.setup_id))) gparent_id,
(SELECT ref_value
FROM sams_sec_application_setup
WHERE setup_id = a.setup_id) ref_value
FROM sams_sec_security a
WHERE setup_id IN (
SELECT setup_id
FROM sams_sec_application_setup a
WHERE application_id = (SELECT application_id
FROM sams_sec_application
WHERE application_name = 'SOFA')
AND GROUP_ID = (SELECT GROUP_ID
FROM sams_sec_group
WHERE group_name = 'Alliances'))
AND user_id = 'srikulka '
AND entity_id IN (
SELECT a.role_id
FROM sams_sec_role a,
sams_sec_permission b,
sams_sec_role_permission c
WHERE a.role_id = c.role_id
AND b.permission_id = c.permission_id
AND b.permission_name = 'Admin'
AND b.application_id =
(SELECT application_id
FROM sams_sec_application
WHERE application_name = 'SOFA')))
GROUP BY ref_id, gparent_id, ref_value;
The same query executed without any error in 8i databases.
The query is executed from schema user X with all the referenced tables in schema user B.
Thanks and regards,
Ambili

3113 is a generic error and there are many known reasons for encountering this error. I suggest you search for related docs on Metalink.

Similar Messages

  • Issue with changing database location at runtime

    I am having a similar issue to:
    Re: Issue with changing database location at runtime
    where I am using Crystal Reports 2008 SP 3 fix pack 3.3 and a OLE DB connection to a SQL 2008 R2 server. Running on a computer on the network where the report can see the original development server is fast, other computers where that server is not available are hanging 20 seconds before coming up.
    I am using the same code from the Crystal Sample app to change the connection on each table. I found that the slowness comes the first time the ReportDocument object is accessed to get the collection of database tables, before the connection info is set.
    Fix pack 3.4 was mentioned in that post.  Does fix pack 3.4 fix that issue? I don't see fix pack 3.4 on the downloads page (https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/bobj_download/main.htm)

    I just found on the reports that were having the issue there was a SQL Expression.  Per this thread:
    Re: Report load is slow after changing database servers
    There was an issue with that and the fix is not out til the end of Feb so I found a way not to use the SQL Expression and the speed is much better.
    However, your information provided led me to this post:
    Cannot Change Table Location, but Only for One Report
    And I am also experiencing an issue where the table location is not changing on one subreport and I will look into that as a possible solution.
    Thanks so much for your help.

  • Oracle Discoverer 4i (portal db - oracle 8i) connectivity issue with 11g database

    Hi All
    We have oracle discoverer 4i with portal db (oracle 8i).
    We connect to the external databases using db links in the portal db and the reports will use the db link to retrieve the data from views in the external databases.
    External databases we were connecting is oracle 10g version and now we have upgraded these databases to 11g version.
    Now i have a created a new db link to this 11g database and i have created a new EUL in portal to connect to this 11g database.
    But when i try to create a report using the discoverer from this new EUL after login to the discoverer we get a "cannot connect to database" error.
    We have all the necesscary privilege to the user and the new database link works perfectly fine. (when we try to query directly using SQL plus from portal database using this db link the query works perfectly fine).
    Im not sure if this is a compatibility issue in connecting from oracle disc 4i to a 11g database.
    Can any one advise if this is the case and if there is any workaround for this?
    Regards,
    Raj

    Are you saying you are having issues with a database link between 8i and 11g (pl post exact versions to 4 digits) ? If so, it should be expected as database links between these two versions are not supported. Is there a reason you cannot upgrade the portal database to at least 10gR2 ?
    See MOS Doc 207303.1
    HTH
    Srini

  • Why did carefully over heating my 4s restore the wifi function? This, after 2 months of mysteriously grey out wifi buttons, loads of time trying to resolve issue with apple tech only to be told I must pay $199 to repair the problem. I'm disillusioned now

    Why did carefully over heating my 4s restore the wifi function? This, after 2 months of mysteriously grey out wifi buttons, loads of time trying to resolve issue with apple tech only to be told I must pay $199 to repair the problem. I'm disillusioned now

    Is the Wi-Fi button greyed out?  Try this article: http://support.apple.com/kb/TS1559
    Also, make a backup to iTunes of the device.  Then restore it as a new device.  If you still have wi-fi greyed out, then contact Apple again, and explain that you believe you have a hardware issue.  They may still ask for a $19 deposit, but if it is actually hardware related, then you won't be charged the $19.  Only if it is software related do you get charged that $19.

  • Inner join query used with 7 Database tables

    HI All,
    In a report they used the Inner join Query with 6 Data base table..now there is a performance issue with at query.
    its taking so much of time to trigger that query. Please help how to avoid that performance issue for that.
    In that 2 database tables containing lakhs of records..
    According to my knowledge it can be avoided by using secondary indexs for those 2 database tables..
    and by replacing the Inner join Query with FOR ALL ENTRIES statement.
    i want how to use the logic by using FORALL ENTRIES statement for this..
    So, please give you proper suggestion to avoid this issue..
    Thanking you.
    Moderator message: Please Read before Posting in the Performance and Tuning Forum
    Edited by: Thomas Zloch on Oct 16, 2011 10:27 PM

    Hi,
    And what do you mean with "they used"? If "SAP used" then yo will need to ask a SAP for note
    FOR ALL ENTRIES is quite good described in help. Please search forum also.
    Without query it won't be possible to tell how it can be optimized, however you can try to use SE30/SAT and ST05. Maybe it will help you.
    BR
    Marcin Cholewczuk

  • [SOLVED] Touchpad issues with Eee 900A, only with Arch.

    Hi guys, posting here because I'm having a hard time tracking down this issue.
    I recently aquired an Eee PC 900A, which I have running the 2-09 arch build no prob, but I'm having one massively annoying issue with the touchpad under X.
    Whenever I lift my finger and replace it on the touchpad, at anything but super slow speed (and sometimes even then), the cursor will jump, an in or so back..
    Now I thought this might be a hardware issue, so I've tried booting into different distros (after trying tons of configs  for the synaptics driver in xorg.conf), and this dosen't occur in the Xandros distro that ships with the Eee, or in Eeebuntu..
    I'm pretty certain it's not a  config issue, Eeebuntu uses hal, I've tried using hal, and dozens of xorg.confs.. I've also tried the zen-eee kernel for the 1000/901's, which is older, and still has the same issue.
    So I'm sure this is a software issue, but I'm not sure which.. It even happens if I dont have the xf86-input-synaptics driver installed.. I'm not going to post my xorg.conf here, because it's irrelevant.. I've tried using tons, including the one that ships with xandros..they all change aspects of the synaptics driver, but none affect this issue.
    Anyone else having this issue? Fixes, suggestions?
    Thanks.
    Last edited by dissimilation (2009-03-03 14:11:31)

    hi guys,
    I had a similar bug on my netbook with the Elantech touchpad. I have reported a bug to the maintainer of the Elantech driver and I get a patch that fix it.
    description of my bug:
    with two fingers above the touchpad, tap alterrnatively with each finger on the touchpad.
    - expected behaviour: the cursor does not move.
    - actual behaviour: the cursor jumps sometimes to the left or the right.
    this only happens when configuring the touchpad with synaptics (by defaults, mine is detected as a mouse)
    is your bug the same than mine ?
    are you using both the proto=exps option and synaptics ? (I still have the bug in this configuration)
    if it is the same bug, I have submited the patched kernel to AUR

  • Strange issue with external monitor, only working when external speakers plugged in (using Thunderbolt to VGA adaptor)

    Hey – I am having a very strange issue with my external monitor; where it only works if my external speakers are plugged in and connected.
    I am using a late 2011 Macbook pro, running Mavericks 10.9.4, along with an MBox 2 (USB Audio Interface), and two powered speakers (KRK Rokit 5). This setup has had no issues. I have just acquired an external monitor (Benq T2200HD), which I am using with a thunderbolt to VGA adaptor (a cheap Chinese knockoff adaptor).
    To start - I plugged the monitor in with the thunderbolt adaptor, and it powers up and works fine. However, there is a nasty buzz coming from the speakers. I did some research and it looks like a simple ground loop issue. I did a bit of troubleshooting, and this is where things get weird.
    What I found is - If I unplug the MBox, the monitor loses signal from the computer (displaying ‘No Signal Detected!’). Further, if I keep the MBox plugged in, however unplug both the cables from the MBox to the speakers, the monitor loses signal. It doesn’t matter if the speakers are turned off, however they need to be plugged in (or the monitor loses signal). Weirder still, I can unplug the MBox, however the monitor will work if I plug in the speakers through my macs headphone jack.
    Simply put, the monitor only works if there is a direct connection between the computer, the speakers, and the power source.  What is going on here? Is the monitor grounding through the computer port, to the speakers (I don’t know how this works, is this possible?). Could it somehow be the cheap VGA adaptor I am using?
    Some other information:
    - Everything is plugged into the same multi-box for power. I have tried plugging things into separate sources, and the result is the same.
    - If I unplug the thunderbolt adaptor, then the speaker noise disappears straight away.
    - The ground noise doesn’t appear in my headphones, which are plugged into the MBox.
    Any information would be great – am I missing something here, or is this genuinely weird?

    Well, I went back into Best Buy to test on 3 other laptops (2 Asus, and their floor model for this Sony). It seems to be doing the same problem so at least I was able to rule out broken hardware issue on my particular laptop.
    Here's what I did to test:
    Since I couldn't really install Adobe Premiere on their machines, I used the DVIO software (http://www.carr-engineering.com/dvio.htm) and a 5 min clip I captured.  I transferred onto their machines, hooked up my Sony D8, and attempted to play the video.  It would play for 15 seconds and then stop and jitter with a loud noise (like it does on my laptop).  I even tried changing each machine's firewire driver to the legacy one and same results.  I pulled a brand new 4 pin to 4 pin firewire cable off their shelf and still the same problem.
    I think I've nailed it down to Win7x64 bit Home Edition not playing nice with Firewire driver.  Very annoying.  I can't find any concrete evidence of this from other users on any of the forums that have my particular problem, but from my own testing, it's all I can conclude.
    I have 2 other things I can try:
    1.  Opening the laptop and looking at the firewire to maybe find appropriate driver (ugh, I don't want to have to open this thing up).
    2.  Upgrading to Win7x64bit Pro and possibly testing with XP on the new MS Virtual PC (http://www.microsoft.com/windows/virtual-pc/).  I can't do it with my Home edition apparantly.
    Who needs to view video on an external TV anyways....sheeesh...(scarcasm).
    Tim

  • Strange issue with external monitor, only working when external speakers plugged in

    Hey – I am having a very strange issue with my external monitor; where it only works if my external speakers are plugged in and connected.
    I am using a late 2011 Macbook pro, running Mavericks 10.9.4, along with an MBox 2 (USB Audio Interface), and two powered speakers (KRK Rokit 5). This setup has had no issues. I have just acquired an external monitor (Benq T2200HD), which I am using with a thunderbolt to VGA adaptor (a cheap non-apple adaptor).
    To start - I plugged the monitor in with the thunderbolt adaptor, and it powers up and works fine. However, there is a nasty buzz coming from the speakers. I did some research and it looks like a simple ground loop issue. I did a bit of troubleshooting, and this is where things get weird.
    What I found is - If I unplug the MBox, the monitor loses signal from the computer (displaying ‘No Signal Detected!’). Further, if I keep the MBox plugged in, however unplug both the cables from the MBox to the speakers, the monitor loses signal. It doesn’t matter if the speakers are turned off, however they need to be plugged in (or the monitor loses signal). Weirder still, I can unplug the MBox, however the monitor will work if I plug in the speakers through my macs headphone jack.
    Simply put, the monitor only works if there is a direct connection between the computer, the speakers, and the power source.  What is going on here? Is the monitor grounding through the computer port, to the speakers (I don’t know how this works, is this possible?). Could it somehow be the cheap VGA adaptor I am using?
    Some other information:
    - Everything is plugged into the same multi-box for power. I have tried plugging things into separate sources, and the result is the same.
    - If I unplug the thunderbolt adaptor, then the speaker noise disappears straight away.
    - The ground noise doesn’t appear in my headphones, which are plugged into the MBox.
    Any information would be great – am I missing something here, or is this genuinely weird?

    Hello cgoldberg11
    Please go to the below link to test if you are having a speaker hardware failure.
    Testing for Hardware Failures (Windows 7)
    This will rule out hardware failure, let me know how that goes.
    Thanks
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP. .....
    Reguards,
    Mo

  • Query issue with exception aggregation

    Dear all,
    I have to solve the following reporting issue with BEx:
    Cube Structure:
    Cube A:
    Characteristics: Company Code, Article, Distribution Channel, Customer, FiscalYear/Period
    Key-Figures: Sales Val., Sales Qty.
    Cube B:
    Characteristics: Company Code, Article, FiscalYear/Period
    Key-Figures: COGS
    I simply want to multiply:  Sales Qty@COGS = NODIM(Sales Qty) * COGS,
    but this calculation should be valid for all characteristics of my cube A, even if I do not have them available in Cube B (like Customer and Distribution Channel). Additionally the calculated totals of my characteristics must be correct so that I can apply in second step a Margin Calculation: Sales Val. - Sales Qty@COGS which is valid on single level, as well as on total level.
    I started to setup calculated key-figures
    COGS1 = NODIM(Sales Qty) * COGS   with Exception aggregation TOTAL by Company Code
    COGS2 = COGS1 with Exception Aggregation TOTAL by Article
    and this worked fine for both characteristics. If I use COGS2 in my report I get correct figures in a drilldown by Company Code and Article.
    I enhanced the calculation by
    COGS3 = COGS2 with Exception Aggregation TOTAL by Distribution Channel, but the result in this case is 0. I guess the result is 0, as the characteristic Distribution Channel is not availble in Cube B.
    Any ideas how to solve this? Is there probably a different (more elegant) approach, as I fear that having all the exception aggregations my query runtime/ressource consumption will be awful.
    Thanks for any idea,
    Andreas

    Hi,
    You should define a new selection for COGS having Constant Selection on DC as defined in following link for PRICE with CUSTOMER.
    [http://help.sap.com/saphelp_nw70/helpdata/en/46/91f0f090ea13e8e10000000a155369/content.htm]
    and then apply your formulas....
    hope it will solve the problem...
    Regards.

  • Query Rewrite with regular database Views

    Hi all,
    I'm trying to make my programmer's life easier by creating a database view for them to query the data, so they don't have to worry about joining tables. However, query rewrite doesn't work no matter how I define the MV and View. Here's an example:
    I've Sales tables with columns: PDate, CustCode, Amount
    and Customer table with columns: CustCode, CustDesc
    I create a view SALES_V with columns: PDate, CustCode, CustDesc, Amount by joining Sales table with Customer table as follows:
    create or replace view SALES_V as
    select PDate, c.CustCode, c.CustDesc, Amount
    from Sales s
    join Customer c on (s.CustCode=c.CustCode);
    For the sake of speed, I create a materialized view SALES_TOT_MV with columns: PDate, Amount with the following SQL:
    create materialized view SALES_TOT_MV
    enable query rewrite
    as select PDate, sum(Amount) Amount from Sales
    group by PDate;
    When I run the following query, I expect it to be rewritten to make use of SALES_TOT_MV:
    select PDate, sum(Amount) from SALES_V
    group by PDate;
    However, explain plan always tell me it's using SALES table, not the SALES_TOT_MV.
    Can somebody tell me it's a limitation of Oracle optimizer or I'm just missing something for this?
    Thanks in advance!!
    - Andrew
    Edited by: blackhole001 on Jan 28, 2010 12:34 PM

    blackhole001 wrote:
    Hi all,
    I'm trying to make my programmer's life easier by creating a database view for them to query the data, so they don't have to worry about joining tables. This sounds like a pretty horrible idea. I say this because you will eventually end up with programmers that know nothing about your data model and how to properly interact with it.
    Additionally, what you will get is a developer that takes one of your views and see's that of the 20 columns in it, it has 4 that he needs. If all those 4 columns comes from a simple 2 table join, but the view has 8 tables, you're wasting a tonne of resources by using the view (and heaven forbid they have to join that view to another view to get 4 of the 20 columns from that other view as well).
    Ideally you'd write stored routines that satisfy exactly what is required (if you are the database resource and these other programmers are java, .net, etc... based) and the front end developers would call those routines customized for an exact purpose.
    Creating views is not bad, but it's by no means a proper solution to having developers not learn or understand SQL and/or the data model.

  • Issue with Texi database

    Hi there
    I am Using taxis database for text searching but I am getting an error..
    When I am using the query like this �
    StrSQL = "SELECT SUM($rank) AS RANK, COUNT(CATEGORY_PATH) AS DCOUNT, HRDIVID, MAX(DIVISION_NAME)
    DIVNAME, MAX(DIVISION_ID) DIVID ";
              StrSQL = StrSQL+ "FROM CAT_PATH, DIV_BU_REL ";
              StrSQL = StrSQL + "WHERE CAT_PATH.DIVISION_ID=DIV_BU_REL.EBUSBUID AND CATEGORY_PATH LIKEP '";
              StrSQL = StrSQL + searchString     ;
              StrSQL = StrSQL + "'gc' GROUP BY HRDIVID ORDER BY RANK DESC";
    The error Message is�����
    got into exeptioncom.thunderstone.texis.jdbc.TexisSQLException: Texis: Bad Data (table)null
    Start MaterTOPFR page: Tue Jan 28 11:13:47 EST 2003
    End MaterTOPFR page: Tue Jan 28 11:13:47 EST 2003
    [03.01.28 11:14:47:369 EST] b94979 ServletInstan X Uncaught service() exception thrown by servlet {0}: {1}
    "JSP 1.1 Processor"
    org.apache.jasper.JasperException: Unable to compile class for JSP "/TN_Applications/AskThermo/ProductSearch/CDA/findProduct.jsp" /opt/WebSphere/AppServer/temp/default_host/V5jsp/TN_5F_Applications/AskThermo/ProductSearch/CDA/_findProduct_jsp_0.java:235: ')' expected.
    jspxwriteString(out, jspxhtml_data[4]);
    ^
    /opt/WebSphere/AppServer/temp/default_host/V5jsp/TN_5F_Applications/AskThermo/ProductSearch/CDA/_findProduct_jsp_0.java:389: 'try' without 'catch' or 'finally'.
    jspxwriteString(out, jspxhtml_data[28]);
    ^
    /opt/WebSphere/AppServer/temp/default_host/V5jsp/TN_5F_Applications/AskThermo/ProductSearch/CDA/_findProduct_jsp_0.java:391: Type expected.
    } catch (Exception ex) {
    ^
    3 errors
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at javax.servlet.ServletException.<init>(ServletException.java:107)
         at org.apache.jasper.JasperException.<init>(JasperException.java:73)
         at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
         at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled Code)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled Code)
         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
         at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
         at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled Code)
         at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
         at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(Compiled Code)
         at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
         at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled Code)
         at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled Code)
         at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)
    I will Really Appreciate if you can help me to solve this issue..
    Regards
    Buchanna Gajula

    Using $$ instead of $ it works fine..
    The strange thing is $ sign is used as a escape character in Texis...
    Any way it works now :)
    Cheers!!
    Buchanna Gajula

  • Hierarchical Query/START WITH/Remote Database error

    Running on: EE 10.1.0.4.0 - 64bit
    Remote DB: EE 11.1.0.6.0 - 64bit Production
    Trying:
    <PRE>
    WITH
    Moo
    AS
    SELECT
    1
    FROM
    Dual@EPO11_Link A
    CONNECT BY
    LEVEL = 1
    START WITH
    EXISTS (SELECT * FROM Dual@EPO11_Link B WHERE A.Dummy = B.Dummy)
    SELECT
    FROM
    Moo;
    </PRE>
    Getting:
    ORA-00904: "A3"."$nso_col_1": invalid identifier
    ORA-02063: preceding line from EPO11_LINK
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    - The CTE's query runs fine on its own.
    - removing the @ from the first Dual@EPO11_Link , works.
    - removing the @ from the second Dual@EPO11_Link , errors:
    ORA-02016: cannot use a subquery in a START WITH on a remote database
    02016. 00000 - "cannot use a subquery in a START WITH on a remote database"
    *Cause:   
    *Action:
    Error at Line: 10 Column: 24
    - Removing the START WITH clause, works.
    - Changing the START WITH clause's "=" to "IN", works.
    - Changing the START WITH to EXISTS (SELECT * FROM Dual@EPO11_Link B WHERE A.Dummy = B.Dummy) results in:
    ORA-00904: "A3"."DUMMY": invalid identifier
    ORA-02063: preceding line from EPO11_LINK
    00904. 00000 - "%s: invalid identifier"
    *Cause:   
    *Action:
    Am i missing something here?
    Edited by: Brian Tkatch on Jan 19, 2012 1:27 PM

    Searching error messages books:
    These have the ORA-02016:
    8: http://docs.oracle.com/cd/A58617_01/server.804/a58312/newch228.htm#19589
    9: http://docs.oracle.com/cd/A91202_01/901_doc/server.901/a90202/e1500.htm#1001663
    These do not have the ORA-02016:
    10R1: http://docs.oracle.com/cd/B14117_01/server.101/b10744/e1500.htm#ORA-02009
    10R2: http://docs.oracle.com/cd/B19306_01/server.102/b14219/e1500.htm#ORA-02009
    11R1: http://docs.oracle.com/cd/B28359_01/server.111/b28278/e1500.htm#ORA-02009
    Starting with (heh) 10R1 a bunch of error messages were removed regarding hierarchical queries, including this one.
    Is it allowed or not?

  • Strange issue with some laptops only getting local...

    Hi everyone, this is a long post so appreciate you reading it.
    The problems not my house (im a BT infinity user) but my Dads,
    Long story short, he has 4 laptops which have always connected to the homehub and internet fine. Its an original V.1 homehub I believe.
    After some local exchange work which BT informed him about, once it came back online he can only connect one laptop to the internet
    All 4 connect to the home hub, but 3 only have local access and cant see the internet. The home hub is definitely connecting to the internet, no issues and one laptop still works. Cant find anything unusual on the homehub.
    I have tried everything, resetting back to factory, removing/changing security, changing SSID, removing all traces from the laptops that don’t work of the connection then resetting the homehub again, even deleting all devices out of the homehub and letting them reconnect for the first time but nothing works. Whatever I change though, the original laptop always connects to the internet.
    Even connecting one of the laptops via Ethernet doesnt work (although I didnt personally do this and am relying on my dad confirming this, so need to recheck)
    I am bringing down an old home hub I have and I pretty sure that will fix it, as I took one of his laptops home and it connects to my homehub fine, but im desperate to know why this is happening. I cant stand not getting to the bottom of something like this.
    Interestingly the only laptop that works is a Vista machine, the rest are W7. I even tried doing a system restore to a few weeks previous in case Microsoft had patched something that broke them, but still no joy.
    Could it be a firmware update on the Home hub or a Windows 7 / wireless network card issue ?
    Any suggestions ?
    Thanks

    mr_cy wrote:
    Thanks for the suggestions.
    interestingly the one issue the home hub did report was that it couldnt find a BT DNS server.  it didnt seem to cause any issues though as the one laptop that does work could browse the internet no issues.
    Also did ipconfig and the other laptops were all assigned a dhcp address (if I remember correctly both IP4 and IP6 addresses), but no dns server.
    It just doesnt make any sense !!
    Try manually assigning the DNS Server on each of the Laptops --- usually the same as the Gateway IP address.
    Check this with the Laptop that can connect to the Internet.
    Also check the Network settings.
    Is the Network setup correct on those Windows 7 laptops are the settings set for "Public" or "Private" networks?
    Edit
    I see it is the older Homehub version, IPV6 (inbuilt on Windows 7) could be causing problems uncheck that option from the Adaptor(s) settings if you can.
    As well as ipconfig /all try the following.
    Route print
    route print |findstr /C:"Default"
    to check that there is an assigned default gateway
    "I have this awful feeling someone is watching every move I make (one of my pet hates is router location tagging)." Marvin (A paranoid Android)

  • Query Issue with select level from dual

    Hi,
    I have a question regarding this query. The problem seems that when selecting level from dual while including another table the rows returned seem to increase exponentially.
    I can add distinct and get the correct number of rows but am worried that this will cause a possible performance issue. Am I using the level option wrong?
    I have included details below.
    There are 4 rows in tbl_incidents
    When I run the following queries I get rows returned based on the total number of rows
    select start_date + level - 1, tbl_incidents.incident_id, level
    from dual, tbl_incidents
    where incident_id = 6
    connect by level <= 1;
    returns 1 row
    select start_date + level - 1, tbl_incidents.incident_id, level
    from dual, tbl_incidents
    where incident_id = 6
    connect by level <= 2;
    returns 5 rows
    select start_date + level - 1, tbl_incidents.incident_id, level
    from dual, tbl_incidents
    connect by level <= 3 and incident_id = 6;
    returns 21 rows
    select start_date + level - 1, tbl_incidents.incident_id, level
    from dual, tbl_incidents
    connect by level <= 4 and incident_id = 6;
    returns 85 rows
    select start_date + level - 1, tbl_incidents.incident_id, level
    from dual, tbl_incidents
    connect by level <= 5 and incident_id = 6;
    returns 341 rows
    So with
         r being the number of rows in tbl_incidents and
         l being the number used in the connect by for level and
         q being the number of rows returned by the query
         it appears that
    q(l) = r * q(l-1) + 1
    level 2:     4 * 1 + 1 = 5
    level 3:     4 * 5 + 1 = 21
    level 4:     4 * 21 + 1 = 85
    level 5:     4 * 85 + 1 = 341
    Thanks much,
    Nora

    Hi,
    The dual table is used when you want to do something in SQL when you are not otherwise using a table.
    Generating a "counter table" of the integers 1, 2, 3,..., X is an example
    SELECT  LEVEL   AS n
    FROM    dual
    WHERE   LEVEL   <= x;There is never any point in joining dual to another table, as in
    select  start_date + level - 1
    ,       tbl_incidents.incident_id
    ,       level
    from    dual
    ,       tbl_incidents
    where    incident_id = 6
    connect by  level <= x;You will always get the same more easily by just eliminating dual:
    select  start_date + level - 1
    ,       incident_id
    ,       level
    from    tbl_incidents
    where    incident_id = 6
    connect by  level <= x;It is quite useful and common to join a counter-table to a real table, like this cross-join:
    WITH    counter_table  AS
        SELECT  LEVEL   AS n
        FROM    dual
        WHERE   LEVEL   <= x
    select  start_date + n - 1
    ,       incident_id
    ,       n
    from    tbl_incidents
    ,       counter_table
    where    incident_id = 6

  • Query: Issue with Output

    Does anyone by anychance have any suggestions or thoughts?
    Oracle: 10.2g
    Data:
    with t as (
    select '39' time, to_date('11/14/2003 7:39:00 PM','MM/DD/RRRR hh:mi:ss pm') game_date,11122 team_id, 11122 home_team_id,null away_team_id,'parks' home_team_name, null away_team_name,'Steve' offensive_player_moniker, 'Smith' offensive_player_last_name, '7' play_result_id, '11' event_code_num, '11111' game_code from dual union all                   
    select '32', to_date('11/14/2003 7:32:00 PM','MM/DD/RRRR hh:mi:ss pm'),24555, null, 24555, null, 'bombers', 'Chris', 'Carter', '7','11','11111' from dual union all                
    select '35',to_date('12/14/2008 1:35:00 PM','MM/DD/RRRR hh:mi:ss pm'),33211, null, 33211, null, 'carts', 'Marty', 'Booker','7','17','22222' from dual union all  
    select '30',to_date('12/14/2008 1:30:00 PM','MM/DD/RRRR hh:mi:ss pm'),15555, 15555, null, 'sharks', null, 'Bob', 'Sanders','7','17','22222' from dual union all
    select '38',to_date('12/14/2008 1:38:00 PM','MM/DD/RRRR hh:mi:ss pm'),15555,15555, null, 'sharks', null, 'Marvin','Harrison','7','19','22222' from dual union all
    select '44',to_date('12/14/2008 1:44:00 PM','MM/DD/RRRR hh:mi:ss pm'),15555,15555, null, 'sharks', null, 'Marvin','Harrison','7','17','22222' from dual union all
    select '26',to_date('12/14/2008 1:26:00 PM','MM/DD/RRRR hh:mi:ss pm'),15555,15555, null, 'sharks', null, 'Marvin','Harrison','7','19','22222' from dual union all
    select '38',to_date('12/16/2008 1:38:00 PM','MM/DD/RRRR hh:mi:ss pm'),32111, 32111, null, 'carts', null, 'Marty', 'Booker','7','17','33333' from dual union all
    select '39',to_date('12/16/2008 1:39:00 PM','MM/DD/RRRR hh:mi:ss pm'),15555, null, 15555, null, 'sharks', 'Marvin','Harrison','7','11','33333' from dual
    )Query
    select substr(x, 1, instr(x, ',', -1) - 1) as game_stats,
                      play_result_id,
                      game_code
       --Bulk Collect into player_results
        from
               select
                      (case when event_code_num = 17 then
                      team_name 
                                 || ': '
                                 ||
                      (xmlagg(xmlelement(e, offensive_player_moniker  
                                                 || ' '
                                                 ||  offensive_player_last_name
                                                 || ' ('
                                                 || to_char(time)           
                                                 || ' pen), ')).extract('//text()'))
                      else team_name 
                                 || ': '
                                 ||
                      (xmlagg(xmlelement(e, offensive_player_moniker
                                                 || ' '
                                                 || offensive_player_last_name
                                                 || ' ('
                                                 || to_char(time)
                                                 || '), ')).extract('//text()'))
                      end) x,
                      play_result_id,
                      game_code,
                      event_code_num
               from
                     select         
                                     offensive_player_moniker,
                                     offensive_player_last_name,
                                     case
                                     when home_team_id = team_id then home_team_name
                                     when away_team_id = team_id then away_team_name
                                     end) as team_name,
                                     time  minute,
                                     team_id  team_id,
                                     play_result_id,
                                     game_code as game_code,
                                     event_code_num as event_code_num,
                                     time,
                                     game_date
                        --Bulk Collect into player_results
                        from        
                                     t
                        where        event_code_num in (11,17,19,28)
                        and          play_result_id = 7
                       group by    
                                     offensive_player_moniker,
                                     offensive_player_last_name,
                                     home_team_id,
                                     away_team_id,
                                     team_id,
                                     home_team_name,
                                     away_team_name,  
                                     play_result_id,
                                     game_code,
                                     event_code_num,
                                     time,
                                     game_date
                       order by      time asc
           group by  team_name, play_result_id, game_code, event_code_num
           );current output:
            GAME_STATS     PLAY_RESULT_ID     GAME_CODE
    1     carts: Marty Booker (35 pen)     7     22222
    2     carts: Marty Booker (38 pen)     7     33333
    3     parks: Steve Smith (39)     7     11111
    4     sharks: Bob Sanders (30 pen), Marvin Harrison (44 pen)     7     22222
    5     sharks: Marvin Harrison (26), Marvin Harrison (38)     7     22222
    6     sharks: Marvin Harrison (39)     7     33333
    7     bombers: Chris Carter (32)     7     11111
    DESIRED OUTPUT
            GAME_STATS     PLAY_RESULT_ID     GAME_CODE
    1     carts: Marty Booker (38 pen)                                                                     7     33333
    2     parks: Steve Smith (39)                                                                     7     11111
    3     bombers: Chris Carter (32)                                                                     7     11111
    4     sharks: Bob Sanders (30 pen), Marvin Harrison (26, 30 pen, 38,44 pen)     7     22222
    5              carts: Marty Booker (35 pen)                                                                     7     22222
    6     carts: Marty Booker (38 pen)                                                                     7     33333
    7     sharks: Marvin Harrison (39)                                                                     7     33333-One of the issues is that im forced to do a group by 'event_code_num' whis is in turn causing the issue, but i needed in the output.
    -Second issue is concatinating the results of players that scored more than once in the game like Marvin Harrison, above
    -Third issue is that i want to sort the time in asscending order in the output of game_stats, like so Marvin Harrison +(26, 30 pen, 38,44 pen)+ and i want the result set to be sorted by home_team first followed by away team for each game.
    Edited by: user652714 on Mar 17, 2009 9:51 AM
    Edited by: user652714 on Mar 17, 2009 10:20 AM

    I've gone ahead and added notes as you had suggested frank, and thanks for the suggestions in regards to genral coding!!
    Table Columns/Defenitions:
    time : the minute during which a player scored
    game_date : the date of the game and time at which a player scored
    team_id : the teams id
    home_team_id : the home teams id
    away_team_id : the away teams id
    home_team_name : the home team name
    away_team_name : the away team name
    offensive_player_moniker : offensive players first name
    offensive_player_last_name : offensive players last na,e
    play_result_id : the number of play that resulted
    7 = Scored
    event_code_num : the code number for a type of an event
    11 = Scored / 17 = Penalty / 19 = Scored in extra time
    game_code : the code of the game
    DESIRED OUPUT
    You were right my desired output was incorrect here it is again
    bombers: Chris Carter (32) 7 11111
    parks: Steve Smith (39) 7 11111
    sharks: Marvin Harrison (26, 30 pen, 38, 44 pen), Bob Sanders (30 pen) 7 22222
    carts: Marty Booker (35 pen) 7 22222
    carts: Marty Booker (38 pen) 7 33333
    sharks: Marvin Harrison (39) 7 33333
    Breakdown of output:
    sharks: Marvin Harrison (26, 30 pen, 38, 44 pen), Bob Sanders (30 pen) 7 22222
    sharks = team name
    Marvin Harrison = player name
    (26, 30 pen, 38, 44 pen) = ascending order of minute at which player scored/commited penalty
    ***Note*** the 'pen' after after the minute value signifies that the player commited a penalty at that minute, (event_code_num = 17)
    '7' = play_result_id
    '22222' = game_code
    Explination of code
    --Outputs data and gets rid of extra comma in the output
    select substr(x, 1, instr(x, ',', -1) - 1) as game_stats,
                      play_result_id,
                      game_code
       --Bulk Collect into player_results
        from
              --subquery that formats player name and time scored/penalty commited into one string
               select
                      (case when event_code_num = 17 then
                      team_name 
                                 || ': '
                                 ||
                      (xmlagg(xmlelement(e, offensive_player_moniker  
                                                 || ' '
                                                 ||  offensive_player_last_name
                                                 || ' ('
                                                 || to_char(time)           
                                                 || ' pen), ')).extract('//text()'))
                      else team_name 
                                 || ': '
                                 ||
                      (xmlagg(xmlelement(e, offensive_player_moniker
                                                 || ' '
                                                 || offensive_player_last_name
                                                 || ' ('
                                                 || to_char(time)
                                                 || '), ')).extract('//text()'))
                      end) x,
                      play_result_id,
                      game_code,
                      event_code_num
               from
                     --Driving query, populates data
                     select         
                                     offensive_player_moniker,
                                     offensive_player_last_name,
                                     case
                                     when home_team_id = team_id then home_team_name
                                     when away_team_id = team_id then away_team_name
                                     end) as team_name,
                                     time  minute,
                                     team_id  team_id,
                                     play_result_id,
                                     game_code as game_code,
                                     event_code_num as event_code_num,
                                     time,
                                     game_date
                        --Bulk Collect into player_results
                        from        
                                     t
                        where        event_code_num in (11,17,19,28)
                        and          play_result_id = 7
                       group by    
                                     offensive_player_moniker,
                                     offensive_player_last_name,
                                     home_team_id,
                                     away_team_id,
                                     team_id,
                                     home_team_name,
                                     away_team_name,  
                                     play_result_id,
                                     game_code,
                                     event_code_num,
                                     time,
                                     game_date
                       order by      time asc
           group by  team_name, play_result_id, game_code, event_code_num
           );

Maybe you are looking for

  • Login error when trying to access iCloud Mail

    I am receiving the following error when trying to access iCloud Mail. All other iCloud services are functioning. IS FATAL true APPLICATION NAME mail TITLE Mail could not be loaded MESSAGE There was a problem loading the application due to a possible

  • P6NGM no longer boots after clearing CMOS?

    Hi all, hope you can help me with this. I got a new graphics card today (PoV 9800GT), I put it in my P6NGM (not exactly sure which version, uATX, it has VGA and DVI out, but no HDMI) and it didn't work, I would get the regular boot beeps but no signa

  • Data1.cab file is present but empty after download for Acrobat Pro XI

    I am trying to upgrade to Acrobat Pro XI and have downloaded the files. The extraction process took quote a few attempts before it worked on my PC and I'm now doing the install. It get to a point where 'Error 1311 Source file not found' appears and a

  • How to embed youtube/vimeo videos in Flash MX

    Does anyone know how to embed a video in Flash that is from a video hosting site (i.e. youtube, vimeo)? I don't have the source video file, I was not the one who uploaded it. Thanks,

  • Ok i posted this in the general section, but i'll post it here

    ok so i created a movie in iMovie and then exported it to iDvd so i can make a few copies to give to my friends. However it gets to the end of the encoding part and stops, when i click force quit in the apple menu its says idvd not responding. so i f