Able to execute a query in TOAD but can't ceate explain plan

Hi,
I can execute a query in TOAD which uses table from other schema. I have created the synonym and given the rights on it.
But when I try to create explain plan using TOAD: I get Ora-00942:Table or view does not exist.
Any suggestions..
Thanks..

user8941550 wrote:
But if I just try
Explain Plan for
select t.xml_msg_text
from xml_tbl t
THen this works.That will have to be executed as a script in TOAD, which essentially shells out to use SQL*Plus and capture the output, so it's not Toads in-built explain plan.
In another schema I can generate the plan.So that other schema has been set up with toads explain plan table.
In TOAD look in Database -> Administer -> Server Side Objects Wizard
and follow that through to create the necessary toad objects on the server.

Similar Messages

  • Able to retrieve the row in toad but unable to fetch the same after executing the VO.........

    Hi all...
    I have a issue where i am able to retrieve the row in TOAD
    but when I try to do the same by creating VO and passing parameters using setWhereClauseParams()
    I am able to execute the VO but the rowcount is 0.....
    any sort of help is appreciated....
    the query in my VO is
    SELECT NVL(WB.VEHICLE_NO,0) VEH_NO
      FROM WAYBILL_TBL WB,
           SERVICE_MASTER_TBL SER
    WHERE WB.SERVICE_ID = SER.SERVICE_ID
       AND WB.DEPOT_CODE = SER.DEPOT_CODE     
       AND WB.VEHICLE_NO=:1
       AND WB.SERVICE_DATE=:2
    the code in my controller is
                  OAViewObject vo=(OAViewObject)am.findViewObject("PopUpFieldsDataLOVVO1");
                  vo.setWhereClauseParams(null);
                  vo.setWhereClause(null);
                  System.out.println("vehicle_number"+vehicle_no);
                  System.out.println("service_date"+service_date);
                  vo.setWhereClauseParam(0,vehicle_no);
                  vo.setWhereClauseParam(1,service_date);
                  vo.getQuery();
                  int rowcount=vo.getRowCount();
                  System.out.println("No.of.rows.returned"+rowcount);
    here i am getting rowcount 0
    i checked the values that are passed to the VO by using SOP even they are working correctly.......
    can any one help me here.
    thanks in advance
    DEV

    Hi Sushant
    I used the code vo.executeQuery();
    sorry  I forgot to mention previously
    even though i am getting the same rowcount that is 0
    thanx and regards
    DEV

  • HT2250 I have been able to get my MacBook Pro to print wirelessly through my Airport device. How do I make it so other computers (non-Mac) can also print wirelessly as well? They are able to connect through my wireless network but can't print.

    I have been able to get my MacBook Pro to print wirelessly through my Airport device. How do I make it so other computers (non-Mac) can also print wirelessly as well? They are able to connect through my wireless network but can't print.

    Well, you could install the drivers to the wireless printer in you other computers.
    blue apple > System Preferences... > sharing
    check printer sharing.

  • My MacBook Pro does not recognize my Android Incredible 2 cell phone and I can not transfer my photos from my cell phoen to my Mac. I was able to do this in the past, but can no longer do so. i havenot upgraded to any new software.

    My MacBook Pro does not recognize my Android Incrdible 2 cell phone and therefore I can not transfer any photos from my cell phone to my Mac. I was able to do this in the past, but can not do so now. I have not upgraded to any new software. My USB cable is plugged in properly and I just get an error message -- "No Android Device Found". What could be the problem?

    I had the same issue with the Galaxy S4 trying to see what the hype was about and was my first and last android phone. With that being said unfortunately it is a hit or miss with the Mac recognizing an android device or not.  It worked perfectly fine the first time around and then it stopped working for no apparent reason. Through trial and error nothing I did solved the issue.   I did however plug it in my Mac and left it connected for about 30-40 min to charge for a bit and all of the sudden it recognizes the phone. So I just launched Android File Transfer and everything else became fluid after that.    I have no explanation as to why it happened that way, but what I gathered from this is maybe you just have to let it sit for a minute while plugged in before the Mac recognizes it, after all they are opposing software.  On a side note this is why I will always be an apple user, Iphones and the like never have this problem

  • Only firefox executing mysql query two times. but other browser works perfect why?

    i am a web developer. and i am facing a problem only with firefox. every time i use MySQL query in my php code fire fox execute it two times. but same query is working fine on other browsers.

    Yes, the problem is seen without extensions and also in safe mode.
    But, I am starting to think that firefox is running low on memeory or CPU.
    Without extensions the possibility of failing is 1 in 3.
    I am still unable to explain why closing the browser or aborting the request can cause the stuck request to immediately reach the server.
    Is there a way to collect Firefox logs and post it here ?

  • OC on P43-51T (able to hit 400 fsb using x8 but can't hit 400 fsb using x9)

    Hello,
    I was wondering if anyone can explain why my board is rock stable at 400 fsb using a x8 multiplier (q6600 go) but I can't seem to hit 400 fsb using a x9 multiplier. Really hoping to OC my chip to 3.6 Ghz (400x9) versus 3.2 Ghz (400x8). I was only able to hit 370x9 (3.3Ghz) when using the x9 multiplier. All settings have been tested stable @ prime 95, small ftt, large ftt and blended.
    FYI: My ram is set to 1:1 for both scenarios when I tried tweaking with the board. Currently the volts for both settings (400x8 and 370x9) sit at 1.352v.
    Also, I have been able to hit 3.6Ghz on a x9 multi on my old 650sli v2 (using 1.42v) and I'm assuming this board should be better than this. I tried increasing volts (even set it to 1.42v but not stable) to no avail. The chip is fine since these 65nm chips have a max 1.55v rating before burning them.

    I got a little excited and went straight to my results!
    First I tried the x9 multiplier and set it to 101, and it was a no go, I was still stuck @ the 370 fsb wall (for x9, 400 for x8 multi in my case). I then tried 102 then tested (still couldn't get past 370) and then jumped to 104 and did the same thing. At 104 Mhz with a x9 multi I was able to boot up to windows but it would BSOD, with 101 and 102 it wouldn't even post. DIdn't try anything after this with my x9 multi.
    I finally decided to try the x8 multi and at 101 and 102 to no avail, I was still stuck at (my fsb wall of) 400fsb with a x8 multi. I jumped to 104 (got impatient) with a x8 multi and just OCd the fsb incrememntally to 425 Mhz. I tried going past 425 but it was not sable at all, I would post and boot into windows then get a BSOD.
    I even tried Ocing straight to 108 and directly to 120 (just said what the heck let's try it) but the resuls were the same for me it wouldn't go past 425 fsb with a x8 multi.
    Apologies for not going through the PCI-E frequency and just decided on some random numbers to use, I was just too excited and tired at the same time that I wanted to shortcut some things.
    I think what's holding me back though are mems, It's a Kingston Value ram and at its current settings (450) it's overclocked to it's limit I believe. I will try to find some good mems or borrow some from a friend to try and see if I can get over the hump and continue to push my fsb.

  • I can't use this query on 10G, but can use on 9i

    I have ever used bellow query and no error
    SQL>select so.* from bsowner.sales_orders so left join bsowner.relation_address rla on (so.customerid = rla.relationid and so.delivery_addressid = rla.addressid ) and rla.addresstype = (select code from bsowner.tab_addtyp where config1=3)
    When I use on 10G, I can't query
    1* select so.* from bsowner.sales_orders so left join bsowner.relation_address rla on (so.customerid = rla.relationid and so.delivery_addressid = rla.addressid ) and rla.addresstype = (select code from bsowner.tab_addtyp where config1=3)
    SQL> /
    select so.* from bsowner.sales_orders so left join bsowner.relation_address rla on (so.customerid = rla.relationid and so.delivery_addressid = rla.addressid ) and rla.addresstype = (select code from bsowner.tab_addtyp where config1=3)
    ERROR at line 1:
    ORA-01799: a column may not be outer-joined to a subquery
    Help me,Please
    Why I can't use this on 10G?
    when i change = to in , i can use
    but i don't want to change
    help me for the reason

    I don't this gonna work on 9i either.
    Chang your query to
    select so.* from bsowner.sales_orders so left join bsowner.relation_address rla on (so.customerid = rla.relationid and so.delivery_addressid = rla.addressid )
    Where
    rla.addresstype = (select code from bsowner.tab_addtyp where config1=3)

  • How to stream talk radio on iTunes 12.  Was able to do so on iTunes 11, but can't find the radio stations on iTunes 12.

    Just upgraded to iTunes 12 - and now cannot stream local radio stations on iTunes.  I've looked under the RADIO section but the upgrade deleted my stations.  When I try to ADD a radio station - the iTunes 12 Search doesn't find it...  I was able to find and stream this same radio station with iTunes 11.  The iTunes 12 upgrade wiped out my history and radio stations.  Has anyone figured out how to add back individual radio stations?

    Hey bbhillfarm,
    Thanks for the question. I understand that you are having trouble finding the Internet Radio section of the new iTunes 12. The following resource should point you in the correct direction:
    Listen to Internet radio - iTunes Help
    http://help.apple.com/itunes/mac/12/#/itns2946
    Tune in to Internet stations
    1. Click the Internet Radio button   near the top left of the iTunes window (if you don’t see it, click ).
    2. To see the available stations, click the triangle next to the type of music you want to listen to.
    3. To tune in, double-click a station.
    If you use a dial-up modem to connect to the Internet, choose a station with a bit rate of less than 48 kilobits per second (kbps) for best results. To see a station’s bit rate, select the station, then choose File > Get Info.
    Thanks,
    Matt M.

  • How do you add folders and organize bookmarks? I've been able to do it in the past, but can't seem to figure it out now

    I've been trying to add folders to my bookmarks menu and can't find the option to do that.
    Also, how do I add directly to a folder. As of now, I have to add it as a loose bookmarked item, then click and drag to a folder.

    http://support.mozilla.com/en-US/kb/how-do-i-use-bookmarks <br />
    https://support.mozilla.com/en-US/kb/Bookmark+folders

  • Having a hard time customizing homepage, with other browsers I've been able to add a calendar, clock, etc but can't seem to figure how with this

    I would like to establish columns and also display my email accounts etc

    firefox start page, I'm not the most computer lit btw

  • HT4759 how can I transfer my music from my Iphone 4 to my new Iphone 5? I was able to transfer my contacts and apps but can not get my ipod music

    Can someone help me figure out how to get my ipod music from my old 4iphone transferred to my new iphone 5?

    if the music is purchased with iTunes, just download it on the iPhone using this article:
    http://support.apple.com/kb/ht2519
    If the music on your iPod was downloaded elsewhere or ripped from CD's, you can't transfer that back to a computer or another iOS device, iPhones/iPads/iPods weren't designed for this. That has everything to do with music industry rights and legal stuff.

  • How to Export the huge data retrieved by query in Toad?

    Hello,
    I know its not the exact forum to post this thread, but still I hope that I can get some help from this forum.
    I have executed a query at TOAD and its showing me huge data, I want to export the data in some file by using the "Save As" option of TOAD. The query is returning more than 65000 records whcih eliminates the use of XLS format.
    I have tried all other file format options available with Save As.
    TOAD get stuck at 16500 records and just hangs. I have tried the "clone cursor" setting as well although I know very little of this setting.
    Any idea how to make it possible to save the data?
    If you have any ideas, please let me know.
    Thanks in advance.
    Himanshu

    If you have a numeric unique key on the table you are selecting, use a WHERE clause to filter the results and divide it into say 6 queries.
    Get the min() and max() of the number, choose the numbers you can use as BETWEEN and save each file. Then merge them in Excel.
    If you cannot do this, you can easily use SQLPlus, write a query and spool the result into a file and load into Excel as either Space delimited (or Coma delimited - if you can concatinate each column with ||','|| ).

  • Not able to execute the explain plan in development.

    Hi In TOAD when try to click "Explain plan current statement." icon, I getting the below error message. ORA-00604: error occurred at recursive SQL level 1 ORA-01950: no privileges on table space 'DEFAULT_DATA' can anybody give some idea to solve this issue?

    Is this a new user?  You could be running out of quota.
    Ask your DBA to user on that tablespace.
    Alter user <username> quota unlimited on DEFAULT_DATA;
    OR
    Title
    When I do an Explain Plan, I get the error: ORA-00604: error occurred at recursive SQL level 1 OR 
    Description I get the error below when I run / execute an Explain Plan.ORA-00604: error occurred at recursive SQL level 1 ORA-01536: space quota exceeded for tablespace ‘USERS’ (not same but similar)
    Resolution Ensure the Plan Table your Toad is using exists, valid, and can use enough space in the tablespace or give unlimited tablespace rights. Setting Toad to use the PLAN_TABLE from SYS schema via View menu | Toad Options | Oracle | General | Explain Plan can resolve the issue as well.

  • Problem executing the Query.

    Hi,
    When I am trying to open a Query in the Query Designer I am getting the error, like
    Error Characteristic BP in Ext.Sys (BPCo) must be uniquely selected in the query
    Error Characteristic BP in Ext.Sys (BPEmp) must be uniquely selected in the query
    Error Characteristic BP in Ext.Sys (BP R) must be uniquely selected in the query
    Error Characteristic BP in Ext.Sys (BP-P) must be uniquely selected in the query
    Error Characteristic BP in Ext.Sys (BPSh-P) must be uniquely selected in the query
    Error Characteristic BP in Ext.Sys (BPSldTo) must be uniquely selected in the query
    Error Characteristic BP in Ext.Sys (BPSrvEm) must be uniquely selected in the query
    Error Characteristic BP in Ext.Sys (BPR) must be uniquely selected in the query
    It may be due to a characteristic 0BP_EXTERN- Previous Account Number which is a Navigation Attribute of all these characteristics,
    *0CRM_SOLDTO, 0CRM_SHIPTO, 0CRM_BILLTO, etc etc.  So all these characteristics which are associated with 0BP_EXTERN are having some problem.
    All those Queries where 0BP_EXTERN is used are having the same issue. There used to be no issue till yesterday, I was able to execute the Query.
    Can anybody help me solving this issue??
    Thanks in advance.
    Prasapbi

    Also, when I went to InfoObject Properties,
    Business Explorer--> Selection --> "Unique for Every Cell" (this option is selected for the InfoObject 0BP_EXTERN),
    Or will it work if I select the option "No Selection Restriction".
    Thanks
    Prasapbi

  • Problem while executing the query

    Hi,
    I have a query when iam trying to execute the query it is giving following error
    Error Summary
    Exception occured while processing the current request; this exception cannot be handled by the application or framework
    If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
    To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
    Root Cause
    The initial exception that caused the request to fail was:
         Select a valid Date (OR) Fiscal Period (OR) Calendar Month         
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Select a valid Date (OR) Fiscal Period (OR) Calendar Month         
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:455)
    at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1452)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3979)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3416)
    at com.sap.ip.bi.base.application.service.rfcproxy.impl.jco640.Jco640Proxy.executeFunction(Jco640Proxy.java:267)
    Iam not sure why i could not able to execute this query.I could able to execute and run other queries.
    Please help me..
    thanks in advance

    Hi,
    Please check if you have used any formulae or function modules to derive the fiscal period/month from calday. Maybe the date being assigned is not of the same format as expected due to which the error (input valid date or calmonth or fiscal period) is being generated.
    Regards,
    Manoj

Maybe you are looking for