SQL query can be executed through TOAD, but not through discoverer

Hello, everyone:

You have another problem. A SQL query can be executed through TOAD, but when I want to run by a discoverer worksheet, it still shows as no data.

PS: I copied this query discoverer and TOAD, which means, this query is generated by the discoverer. Does anyone know how could it be?

Thank you.

Geng

Hello

If you are able to get the data into a TOAD with the same user credentials of the discoverer more then it will be indicates a problem with the discoverer.
Otherwise, it is a question of privilege, your TOAD user has the right to select for the base objects (tables/views, etc.) while your used Disoverer does not work.

Compare these 2 users privileges and you can narrow down the issue.

Thank you
Fati

Tags: Business Intelligence

Similar Questions

  • GFWL, I can log on to windows, but not in the game (dirt 2)

    GFWL, I can log on to windows, but not in the game (dirt 2).  It says 0 profiles found on the login screen right after you decide to use an existing LIVE account.  I'm under win xp, game dirt 2 and trying to connect to games for windows live.  my connection works for web browsing, etc.  grid works great multiplayer.  I went through and installed the gamers for windows_live program/client, I connected, created a new account, then restarted the pc.  I tried the two start the game by pressing 'home', which would direct me to registration in a nearly straight line on the door, and then when I hit the ' signine box, he would just sit there saying "Please wait" then that "loading" twirling which is graph would just turn and spin. and on the registration screen indicates "0" profiles found.   why it does not find my profile (recognize)?  Ive also tried going first games for windows live, then the game dirt 2 without result.  can someone please?      Thank you

    Oh, and I was able to download "Tinker" and am now play online!

    also in my games to the information page for windows network live while playing "handyman", it is said:
    I am not registered the internet ip address field and the link system address field says 'not active' and it also says I'm not connected on the field of upnp either.  None of this helps to explain?

    THANKS AGAIN FOR THE TIME SPENT TO HELP ME WITH THIS

    Hi Aceraceraced,

    Thanks for visiting the site of the community of Microsoft Windows 7. The question you have posted is linked to the profile in the game of the dirt and would be better suited to the Windows Live games community. Please visit the link below to find a community that will provide the support you want.

    http://www.Microsoft.com/games/en-us/support/pages/default.aspx

    Thank you, and in what concerns:
    Swathi B - Microsoft technical support.

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

  • I found an old vista home basic dvd with a key, how can check whether key works but not install it?

    I found an old vista home basic dvd with a key, how can check whether key works, but not install it? some dvd install can be live boot from themselves too [password required for a direct start?]?

    Hello

    You must install it to see if it is legal to do so.

    There is no public database of product keys.

    See you soon.

  • I can't print a pdf file.  I can print a word file, but not a pdf file. Can you help me?

    I can't print a pdf file.  I can print a word file, but not a pdf file. Can you help me?

    A few things to try.

    Go in Edition > Preferences > Documents and PDF/A mode set to 'never '.

    Then go in Edition > Preferences > (improved) security and uncheck the box "enable mode at startup protected.

    If this does not work, you can always try by selecting 'Print picture' in the Advanced Print dialog box.

  • ¿Dear sirs, I can create with 'Photoshop Elements 12', a multi-page PDF file? I can create a file 'pdf', but not several pages. Thank you

    Gentlemen of ¿Dear,

    I can create a multi-page PDF file with 'Photoshop Elements 12'?

    I can create a file 'pdf', but not several pages.

    Thank you

    Valentin Uriarte

    Unfortunately, the last few versions of PES are much less talented to work with multi-page files, and you can do this in PSE 12.

  • I converted a PDF file to word.  Can I change the words, but not the page.  I can't change the margins. If I delete a picture of the page, space where the image is unusable.

    I converted a PDF file to word. Can I change the words, but not the page. I can't change the margins. If I delete a picture of the page, space where the image is unusable.  Can someone help me please? Gary

    Thank you, Gary!

    I appreciate your comments! Start with the basics: Getting Started with ExportPDF

    And here's a more complete step by step (that you already know, but I'll give the full game!):

    1. Sign in to your account on https://cloud.acrobat.com/exportpdf.
    2. Click on PDF files select export.
    3. Click on choose the files on my computer.
    4. Select one or more files and click on choose (you can select multiple files by pressing the Shift or Ctrl key when you click on the file).
    5. To convert to the: menu popup, select the output format you want (in this case, Microsoft Word).
    6. Let the language of the local menu Document configured to English (unless the PDF is in a foreign language).
    7. Click Export to Word. (The name of this button will vary depending on what format you selected in step 5)
    8. Once the file is converted, it will appear at the bottom of the window, listed under exported files.
    9. Hover your mouse over the thumbnail image of the file, and then click the icon that appears on the left side of the thumbnail to download the file in your downloads folder. (You can also click on the files tab in the upper part of the window to see a complete list of all converted files).
    10. Once you have downloaded the file, you can open it up in Word for editing.

    I hope this helps! If this isn't the case, you know where to find me!

    Best,

    Sara

  • Can print from other applications but not PS

    I'm trying to print from my Macbook Pro 2011 to a brother 2240 laser printer. I can print from other applications, but not of Socialist Party (CC 2014). In the preferences system, the printer shows as online, but in the PS print dialog box, when I click on the printer icon bit to the right of the selected printer, something of utility Brother appears and displays offlilne. But if I go to TextEdit I can print to the printer. Any ideas?

    Nuke your preferences to Photoshop and Photoshop to create new preferences files by pressing Command + Option + shift as soon as you launch Photoshop, keeping them pressed until you see a dialog box that you go click on Yes the force.

  • Query that works well as a toad, but not in forms 6i

    I now coding at the time press the triger

    declare
    CURSOR C1 (year number, month number) IS
    SELECT ITM_NO, ITM_NAME, XAQ QTY XAQ * TP VAL, gp
    Of
    (
    Select ci.itm_no ITM_NO, ci.itm_name ITM_NAME, cpg.group_id gp, xaq, ALLIED. CORP_PRIC_TP (ci.itm_no) TP of
    (
    Select prod_no, sum (xaq) * 1 xaq
    Of
    (
    Select prod_no, sum (nvl(xrd_sqty,0)) Xaq
    of allied.mrk_01_02
    where year = f_prd = month and year
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    Prod_no group
    Union of all the
    Select prod_no, sum (nvl(xrd_sqty,0)) Xaq
    of allied.mrk_02_02
    where year = f_prd = month and year
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    Prod_no group
    Union of all the
    Select prod_no, sum (nvl(xrd_sqty,0)) Xaq
    of allied.mrk_03_02
    where year = f_prd = month and year
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    Prod_no group
    Union of all the
    Select prod_no, sum (nvl(xrd_sqty,0)) Xaq
    of allied.mrk_04_02
    where year = f_prd = month and year
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    Prod_no group
    )
    Prod_no group
    ) A, allied.corp_inv, c01, c02, GIC, vpg allied.v_prod_grp allied.corp_prod_group allied.corp_01_02 allied.corp_01_01
    where this .itm_no = a.prod_no
    and this .itm_no = c02.itm_no
    and c01.grp_id = c02.grp_id
    and in c01.grp_id (55,56,57,58,59)
    and vpg.prod_no = ci.itm_no
    and vpg.group_id = cpg.group_id
    )
    where XAQ <>0;

    Begin
    delete from fiaz.tmp_topten_prod;
    because me in c1(:year,:month)
    loop
    insert into fiaz.tmp_topten_prod
    values (i.itm_no, i.itm_name, i.QTY, i.Val, i.GP, 0);
    end loop;
    standard.Commit;
    message ("inserted into temp'");
    exception when others then
    message (dbms_error_text);
    message (dbms_error_text);
    End;

    Same works of query (as used in cursor c1) fine in Toad but gives bad result of forms... and the problem is xaq field i.e returns incorrect quantity...
    I guess that the union clause does not work in this situation...
    Please suggest me the appropriate changes in the query to work much of the form as well...
    combination: Forms 6i, Oracle 8.0.6
    Kind regards
    Usman Afzal

    Did you get the grant on your mrk_01_02 of the table through a role? If so you would need a direct subsidy:

    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:1065832643319

    see you soon

  • SIMPLE SQL QUERY in a table IF statement but...

    Hello everyone

    I have a table and wants to interpret the medium to make comparisons between cells of different lines, say 4 and 6 colum and so for all lines

    the comparison may be just a division, but the problem is when I have a here X 0 / 0

    So I need to tell the application to check first if there is a 0 to ignore this and continue on the table for the following ranks

    I received what has worked in sql developer and also in the script, but the wizzard when I was going to launch the report in the tenth it came with an error below

    Select company, zip code.
    case
    When count (staff)! = 0 here end sum (Boss/staff)
    assessment
    Group of company, zip code


    1 error has occurred
    Query column #3 (CASEWHENCOUNT (STAFF)! = 0THENSUM(ADDICTS/STAFF) END) is not valid, use column aliases


    I don't know where to put, I tried in many places and it works ever, not to mention that I don't know if the query must be formatted differently to avoid the error...


    Thank you very much

    Alvaro

    Hi Alvaro,

    Generally, you wouldn't need one alias, unless it is part of something else, for example a create view, statement.
    But, have you tried this:

      select company
            ,postcode
            ,case when count(staff) != 0 then sum(bosses / staff) end your_alias
        from evaluation
    group by company, postcode;
    

    But is this really what you want? -Maybe something more in the lines of:

      select company
            ,postcode
            ,sum(case staff when 0 then 0 else bosses / staff end) your_alias
        from evaluation
    group by company, postcode;
    

    Concerning
    Peter

  • Apex Shuttle - can save items in DB, but not from left to right?

    Hi all

    I think it will be a pretty easy fix, but I can't for the life of find me a way to do it.
    Scenario: I want to use a box of the shuttle and on the left hand side, I will keep all the 'Assets' products, and in the side right, I'll keep all the 'inactive' ones. The active field is a column in a database table. When I load the page I have setup a calculation to show all inactive products in the shuttle to the right and all those active in the left.
    declare
       inactive_cols apex_application_global.vc_arr2;
       i number := 1;
    
    begin
       for r in (select col_id from test_table where ACTIVE = 'N')
       loop
         inactive_cols(i) := r.col_id;
         i := i + 1;
       end loop;
    
    return APEX_UTIL.TABLE_TO_STRING (inactive_cols, ':');
    
    end;
    Now if I want to add values from the left side to the right side and save it in the database I can by using this code (process Page on submit after Comps and Val):
    declare
        tab apex_application_global.vc_arr2;
    begin
        tab := apex_util.string_to_table (:P1_SHUTTLE);
        for i in 1..tab.count loop
            update test_table set ACTIVE = 'N' where col_id = tab(i);
        end loop;
    end;
    The problem is that I can't do the opposite i.e. move the shuttle to the right (inactive) values left shuttle (active). Is there a way to do this?

    I installed a demo on apex.oracle.com (http://apex.oracle.com/pls/apex/f?p=61595: 1

    Time... because only the values on the right side are part of the value of the element of the shuttle.

    What I am getting, it is something like this:

    1. to set your LOV SQL for your Shuttle in place and have usable not only by the shuttle, but also by additional processes, I would do a wrapped DB function that returns a string that is your LOV SQL. Base your Shuttle on that. This is so your SQL for all Shuttle values can be set only once for consistency.

    2 do what you do now to the right-hand (selected values) of the shuttle.

    3. create a new process (or other) to the left side. I would like to try something like this:
    a. create a PL/SQL block that dynamically calls the same SQL that make up your Shuttle LOV (see #1 above).
    b. retrieve all these values in a PL/SQL table.
    c. to loop through the PL/SQL from the bottom to the top table. For each entry in the table, compare it to the right side of the shuttle. If the value is on the right side, remove your PL/SQL table.
    d. once as you reach the top of your PL/SQL table, you will find with only the values that were not on the right. The values on the left only that are left in your PL/SQL table. By the process of elimination, you have now arrived at your values on the left.
    e. now again in a loop through the PL/SQL table and do what you want with them.

  • SQL query for the set of data rows not values

    Hello!

    I use Oracle 10 g (10.2.0.1.0) and I need help to solve this difficult task. I have a huge table with more than 145000 records and I shows you only a sample of it:

    ID TEAMNAME_EN DT TEAMNAME_EN HPROB AM APROB FT
    324813 31/8 / 2012 DEN HAAG GRONINGEN 1.90 3.30 3.10 2
    324823 31/8 / 2012 MAINZ GREUTHER FÜRTH 1.75 3.25 3.65 2
    324805 31/8 / 2012 GAZELEC DIJON 1.60 3.15 4.75 1
    324810 31/8 / 2012 ÖREBRO DJURGÅRDEN 2.80 3.25 2 2.05
    324795 31/8 / 2012 FC KÖLN COTTBUS 1.85 3.20 3.35 2
    324837 31/8 / 2012 PORTLAND WOOD COLORADO RAPIDS 2,00 3.20 2.95 1
    324828 31/8 / 2012 DROGHEDA UNITED, DUNDALK 1.45 3.65 5.25 1
    324827 31/8 / 2012 CORK CITY SHAMROCK ROVERS 3,30 3,80 1.70 2
    324833 31/8 / 2012 BARUERI ASA 2.45 3.20 1-2.30
    324798 31/8 / 2012 GENÇLERBIRLIGI ORDUSPOR'A 2.00 3,10 X 3.00
    324814 31/8 / 2012 ALMERE CITY FC OSS 1,80 3,50 3,20 2
    324830 31/8 / 2012 CRICIÚMA BRAGANTINO 1.25 4.35 1 8.00
    324820 31/8 / 2012 VOLENDAM FC EINDHOVEN 1.80 3.25 3.45 1
    324818 31/8 / 2012 MVV MAASTRICHT TELSTAR 1.40 4.00 X 5.25
    324819 31/8 / 2012 DORDRECHT VEENDAM 1.80 3.25 3.45 1
    324834 31/8 / 2012 CEARÁ GUARATINGUETÁ 1.40 3.85 X 5.50

    If this table consists of
    dates
    teams (hometeam, awayteam)
    numbers for homewin, shoot, awaywin probability
    and the final result as 1, X, 2

    What I want is a sql query that returns to me for each hometeam, awayteam and (if possible in a single line)
    all documents of the hometeam which had the same number of prior probability. For example:
    CEARÁ (last line), I would like to the sql to show me all the records of CEARA who had _1.40 3.85 or 5.50_ in each of the three issues of probability, BUT the problem is that I do want separate lines... I can do so far is to calculate a sum of House probability, probability of drawing, close probability for each team but the same records are calculated again in each game of probability!

    This means if CEARÁ has 1.40-3.85-5.50 in the past it will return me this line only once, and not 3 times (one for each set of probability)

    I hope that I've done my duty,
    Thank you for your time and lights
    N. Saridakis

    Is that what you are looking for:

    select hometeam,
           awayteam,
           hw,
           hd,
           hl
    from  (select hometeam,
                  awayteam,
                  ft,
                  SUM(CASE ft
                      WHEN '1' THEN 1
                      ELSE 0
                      END) OVER (PARTITION BY hometeam) hw,
                  SUM(CASE ft
                      WHEN 'X' THEN 1
                      ELSE 0
                      END) OVER (PARTITION BY hometeam) hd,
                  SUM(CASE ft
                      WHEN '2' THEN 1
                      ELSE 0
                      END) OVER (PARTITION BY hometeam) hl
           from   plays)
    where ft is null
    
  • can make face time calls but not receive all

    I have an iMac and have tried FACE TIME, can I make the video connections, but no one can reach me.  I have his see anything in the preference that prevents me is their somewhere else that I should look at?

    I'm going to assume that you have checked each of these facts:

    FaceTime can make outgoing calls.

    b. you don't get calls to an email address or iPhone number corresponding to the Apple code that you are currently using. Calls to any other ID Apple that you may have used will not be received.

    c. the appellants are not on your list of blocking.

    (d) at least one of the callers can call other users of FaceTime - but not you.

    If you have verified these facts, please take each of the following steps you have already taken it. Stop when the problem is resolved. Back up all data before making any changes.

    1. open the Notifications pane in system preferences. Select FaceTime from the list on the left. The banners or alerts alert style must be chosen - not None.

    2. in the same window, select do not disturb. If none of the three top boxes on the right is checked, then all FaceTime calls will be blocked in the corresponding conditions. If you want to use 'do not disturb', but you also want to receive calls when it is active, check or for both the two boxes below, according to your preference.

    3. If the built-in firewall application is enabled, please disable it. In case you are worried about the implications of this step, the firewall generally useless when you're on a private behind a router network.

    4. If you have installed any third-party 'firewall', 'security', or 'anti-virus' software, remove it according to the instructions of the developer. All these software are worse than useless.

    5. If you are connected to a VPN, you disconnect. You may need to remove some third party software VPN completely to solve the problem.

  • Why can I open yahoo mail but not Inbox to open? wrong security settings?

    Have re-installed XP - all * broke loose. and I installed XP literally hundreds of times. When I try to use IE8 to get yahoo mail, only the site opens, but not the Inbox. At redefining the security settings again. However: Mail works fine in Firefox; no problems. Clues?

    Hi Ronald,.

    Welcome to the Microsoft Community and thanks for posting the question.

    According to the description, you can not open the Yahoo mail inbox.

    This problem may occur if cookies or temporary files are not deleted.

    Please contact the support mail from Yahoo for assistance.

    Yahoo mail support

    Meet us if you encounter any other Windows problem, and we would be happy to help you.

    Good day!

    Hope this information helps.

  • HP Deskjet Ink Advantage 2060: I can print in Word format, but not in MS Excel

    Hello, I've just joined this forum and I am new on this.

    I just want to ask for help regarding our printer at the school. I had problem printing in MS Excel, I installed the printer and set as a default value, but still is not printing. When I tried to print, it will just say "Document pending to print" then it will disappear. I tried to install again, and then I had a copy of the printer HP Deskjet Ink Advantage 2060 (1 copy), that I now use to print in Word format and it works, but I found the problem when I tried printing in Excel. I tried to select the copy of the printer but it does not display and only the default is illustrated - in the printer list when you print without printer HP DEskjet (1 copy) is displayed. Everything I do now is copy from Excel and paste the word so I could print the document. I also tried reinstalling the printer but still the same. Help, please.

    -Hopefully I explained it clearly. Thank you.

    Hi @totemnPaul,

    Welcome to the HP Forums support and thank you for reaching out! Although you may have to contact your school IT Department, I'd be happy to everything I can to help. From your description, I understand that you have difficulties when you try to print from Excel.

    Please first try printing HP and doctor Scan.  Printing HP and doctor Scan is a free utility (tool) that allows to quickly solve common printing, scanning and connectivity problems, including but not limited to:

    • Connectivity:

      USB: Check that the USB connection from your computer to the HP product works properly.

      Network: Verifies that the network connection between your computer and your network is working properly.

    • Device Status Test: checks the errors of the device, such as paper, paper jams, stands transport and paper issues and provides instructions to resolve the error.

    • Driver: checks the driver missing or corrupt files.

    • Device Manager: check the problems in Device Manager that could prevent printing.

    • Device online: check if the product has been suspended or put in offline and then sets the State back in line if necessary.

    • Print queue: checks and clears pending print jobs in the print queue (a newspaper for printing waiting to print).

    • Port Match: check the port settings for the HP product.

    • Device conflicts: check the conflicts with other drivers, such as the other brands of printers.

    • Ink issues: check the cartridges and the ink levels for issues that affect the print quality.

    • Print settings: check and adjust the print quality settings.

    • Test print: print a test page for the assessment of the print quality and provides options for cleaning and if necessary print head alignment.

    • Scan tests: check the scanning mechanism, drivers, and registry entries.

    Source:try the HP Print and Scan Doctor for Windows

    Click here to download and run the print and Scan Doctor > > www.hp.com/go/tools

    If this does not resolve the problem, after back and let me know if there are all the symbols except the Green checkmarks and what they are next of course. The key is not always easy to identify the key and check mart are in the green circle.

    • If you see only the Green checkmarks (), the tool did not find any problem.

    • If you see green sides (), the utility identified a problem and fix it automatically.

    • If you see yellow exclamation points (), the test failed and requires monitoring of the user, but the step was ignored.

    • If you see a red X (), follow the onscreen instructions to fix the problem.

    Thanks, I look forward to hearing back on your part.

    Please note, as the issue seems to be limited to those of Microsoft, you might consider reaching out to the Microsoft Support.

  • Wireless devices can see the wireless network but not connect

    Can someone please help?  I have a WRT54GS v2.  My wired computer accesses the Net fine, and I can see MAC address, IP address, DNS, subnet mask, default gateway in the navigation of the linksys software. The devices can see the network with strong bars but can't connect.

    Help!

    Thank you

    Yes, I tried all of these suggestions before posting and thank you for the reply.  I even called Comcast, my cable provider, in despair attempt to resolve.  Of course, they were no help, but it didn't end up being a problem, with what they should have helped me.

    By simple trial and error for several hours, I discovered that the domain name required to be filled in the first Panel of the router Linksys software.  The domain name resulted in the status panel but needed to be included in the initial group.  The forums I read had informed that some cable companies require the name of the computer and the domain name is filled and others not.  Obviously, if Comcast domain name must be filled out, but not the name of the computer.

Maybe you are looking for