Objects SQL Developer does not appear DDL

Greetings! First time poster here on Oracle forums, so I hope I can be as precise as possible :)

I'm having a problem with the display the SQL that makes up an object, more specifically a VIEW.

Here's the scenario:

I log in as a user of TI - WDSQUERY (this account can be used my multiple people to perform queries in different schemas). I navigate to other users and expand this node. I find the schema that I want to use, ALCHEMY, and expand the node.

It now puts me in the realm of ALCHEMY we'll call it. I should be able to see all the different objects belonging to this scheme (assuming that permissions are implemented). I click on the node "VIEWS" to develop all objects from view. I can see the data and the columns. What I can't see is the SQL that generates that view, and I have no idea why.

Colleague of mine use Toad, and he can do the same exact scenario (even ID, go to the same schema, etc.), but when he clicks on the "Script" tab, it will generate the SQL code that generates that view. Which leads me to believe this is not a permission problem, because it is on the exact same user_ID.

Is there an option I did not check somewhere in SQL Developer? The current work around because it's that I simply ask the DBA_VIEWS where owner = "ALCHEMY" and then pull on the text of the name / the view I want. But... still, it's just one of those things that I want to know why it does not work.

Here are the codes ORA bit that I get when trying to view the SQL code of the VIEW:

ORA-31603: object "PO_LINE" of type VIEW not found in the schema "ALCHEMY".
ORA-06512: at "SYS." DBMS_SYS_ERROR', line 105
ORA-06512: at "SYS." Dbms_metadata", line 2806
ORA-06512: at "SYS." Dbms_metadata", line 4333
ORA-06512: at line 1

Any help would be appreciated GREATYLY!

Hello

If you can see the objects in the schema "Other users", then I guess your user_ID the system privilege to SELECT ANY DICTIONARY. See the DDL and data requires additional privileges, however. I haven't looked enough deep to be absolutely sure, but there are two or three methods using SQL Developer:

(1) If you SELECT ON . object privilege, then you can see the data and the DDL.
(2) otherwise, if you need to EXECUTE ON DBMS_METADATA you can see the DDL (except it may depend on other privileges too (?)).

Sorry I don't have the time to dig deeper into the DBMS_METADATA. It works on some of my users to login, but not others. And, of course, privileges such as SELECT ON DBA_VIEWS you always give an unfair advantage.

Hope this helps,
Gary Graham
SQL development team

Tags: Database

Similar Questions

  • my SQL Developer does not work properly! Help

    Hello!!

    My problem here is not like I can't live or work, but it's REALLY annoying, see my SQL Developer does not take any different key of letters and the space bar, I mean, if I use the Enter key, does not alter the line, if I use the return key back isn't clear if I use F5/F9 does not execute the msec! and if the keys don't work!

    any ideas why this is happening? and if yes how do fix this problem?

    There is a well known bug but still not solved, causing this type of behavior, if you are a developer SQL 1.5.X you can work around the problem by loading the accelerators by default:

    Tools-> accelerators-> load Preset-> by default

    If you're on 2.1.X preset may be responsible for

    Tools-> preferences->-> others-> load keyboard accelerators

    2.1 this problem has not been reported so far, so if you are in 1.5.X you can consider upgrading.

  • commands of MySQL with Sql developer does not

    I use sqldeveloper 3.1.07 and trying some selects a mysql 5.1 database.

    SELECT SYSDATE(); works fine, but if I try to

    Use mysql;
    Select in the mysql database;
    -> and user table there is a mistake cause no database is selected.

    How to use sqldeveloper correctly for this task.
    How/where can I run the command mysql with the sqldeveloper?

    Any help is appreciated.

    Hey Cracker Jack,

    Analyzers of SQL Developer the text in a worksheet SQL to identify each statement and its type.
    Current SQL Developer has only one Oracle SQL, SQL * Plus, PL/SQL Analyzer.
    This means that the spreadsheet recognizes that SQL which is similar to Oracle SQL (SELECT, INSERT, UPDATE, DELETE,...).

    No connection to MySQL or other databases Oracle, the spreadsheet should work fine with standard SQL (as your selection), but when the command executes a particular MySQL (or not Oracle), the worksheet does not know how to interpret it.

    You can explicitly provide the information to the SQL needs worksheet using a hint.
    http://dermotoneill.blogspot.com/2010/11/workheet-hints.html

    MySQL example:
    / * sqldev:query * / show databases;
    / * sqldev:stmt * / use dermot;
    Select database();
    / * sqldev:stmt * / use information_schema;
    Select database();

    Kind regards
    Dermot.
    SQL development team.

  • Queue in sql developer does not take into account the VALUE ECHO OFF

    I am a developer SQL 3.1.07.42 Windows 7 64 bit with java 1.7

    I have the following script very simple just to show the problem:
    SET ECHO OFF;
    SET FEEDBACK OFF;
    SET SERVEROUTPUT ON;
    SET VERIFY OFF;
    SET PAGES 0;
    SET HEAD OFF;
    
    SPOOL c:\test.sql
    SELECT 1, 2, 3 FROM DUAL;
    SPOOL OFF;
    /
    If I run into a FROG 10.6.0.42 it creates the file with
             1          2          3
    This is as expected (by me)
    If I run the same exact query in SQL Developer 3.1.07.42, it creates the file with:
    < SELECT 1, 2, 3 FROM DUAL
    1 2 3
    (the < above is actually ">" but software formatting CODE is screwing ' > ')
    but I don't want the ECHOed command to be wound. For the life of me, I can't find a way to turn off the ECHO of the queue in sql developer.
    Tried the same thing in 3.0.4 and 2.1.1 with the same (bad) result (more a few warning on some unsupported SET commands).

    Am I missing something obvious? Cause like that, control of the coil cannot be used in sql developer to generate a CSV file, for example, due to the echo command. And windows does not come with default SED so it's on. (more than my original script is integrated into a whole much broader and complex scripts and the main script, their use is run from Developer SQL as a company policy (so that everyone uses the same tool and the code runs the same for everyone))

    Any ideas/suggestions are welcome
    Thank you.

    Hello

    If you save your code

    SET ECHO OFF;
    SET FEEDBACK OFF;
    SET SERVEROUTPUT ON;
    SET VERIFY OFF;
    SET PAGES 0;
    SET HEAD OFF;
    
    SPOOL c:\testscript.log
    SELECT 1, 2, 3 FROM DUAL;
    SPOOL OFF;
    

    as a script, say C:\testscript.sql, then run from a worksheet like

    @\testscript.sql

    the output in C:\testscript.log will be

    1 2 3

    Kind regards
    Gary
    SQL development team

  • 1.5.4 - SQL-spreadsheet SQL-Developer does not use the owner of the Table

    In older versions of the sql developer, you can remove a table in the spreadsheet and was built a select query. With the new version 1.5.4 - owner of the table is ' % s ' and you must inform the owner of the table or the query does not work with tables of other users.

    Is this a bug or is there the possibility to change the settings to delete tables in the SQL-worksheet with the owners of the table.

    You're DND from the node of the Table under the node of the other user? If so, I'm able to reproduce the problem you're talking about. Otherwise I still not got you problem clearly.

  • 4.0.2.15.21 - x 64 SQL Developer does not start.  Only ends about 20% at startup.

    Hello

    I've seen a number of discussions on this issue but did not answer that worked for me.

    I use the latest version of SQL Developer 4.0.2.15.21 - x 64 on Win7 x 64.

    It is unziped to c:\oracle\sqldeveloper. (I don't have a d: drive install on).

    It fails to start, is 20% then stops.

    I still have an old 4.0.0 version which works, but would like to make use of the latter.

    All the answers about why it's a failure and how to fix it?

    Thank you!

    Owen.

    Nuke SQL Developer Directory for this version in your directory of Application data for the user of your operating system - should be under roaming profiles and start the SQL Developer.

  • Unable to start SQL Developer - does not recognize Java JDK

    After the attempt to launch SQL Developer for the first time, I get a dialog box asking for the "full path to the Java executable. I use the feature navigate to point to my local java.exe Java JDK 7, and nothing happens. No error message, no guest or suspicion (typical Oracle applications, I'm discovery) - the dialog box clears itself and wil not accept all java.exe I point him to.
    SQL> SELECT 'SQL Developer Forum' "Where to look..." FROM DUAL;
    
    Where to look...
    --------------------------------
    SQL Developer Forum
    
    SQL> L
      1* SELECT 'SQL Developer Forum' "Where to look..." FROM DUAL
    SQL> 
    
  • In the creating tutorial, text object I created does not appear as a subelement of the roundrect in

    The tutorial shows how

    Screen Shot 2013-04-26 at 10.27.19 AM.png

    But what I get is this

    Screen Shot 2013-04-26 at 10.27.13 AM.png

    I redid several times and it works very well. Can you screen shots of your steps or a video?

  • OLE object does not appear when you open a. ODT file.

    I often get files from a source that uses an open office program. I am able to open the. ODT file, but embedded OLE object appears as text. The object is a logo, so I'm not all that concerned however, I wonder if there is a way to convert the file so that the OLE object appear to printing purposes. I downloaded an app named "Document converter" on the App Store and I am able to open .odt file in MS Word for Mac but the OLE object still does not appear. Ideas for a job here? As always, thanks in advance for your help.

    .ODT is a file "Open Document formaT". Word 2010 for Windows supports this format, but their infinite stupidity do not justify this in Word for Mac same word in 2016 of Office for Mac does not support this format. OLE stands for Object Linking and Embedding and was a way to incorporate one document inside another and I believe was originally designed by Microsoft. A typical example where it will be will work not on a Mac is when a Visio or project document is embedded in a Word document, because even if obviously a Mac can read Microsoft Word files it can read Microsoft Visio or Project files. In theory embedded Excel, Word or file of standard chart for example, jpg, png, etc. must be displayed on a Mac.

    I'm not aware of a way to determine what might be the embedded object.

    You could try various other programs that support this format e.g. OpenOffice and Google Docs and see if they do a better job to convert.

  • my photo does not appear in the module development on CC2015

    Help! I just downloaded CC 2015 to a new computer and trying to edit in the LR develop module, my photo does not appear in the center of the screen, only in the side panel. What am I missing?2016-02-22.png

    Hi SavannahRachel

    Please follow the steps below.

    Open Lightroom

    Go to Lightroom preferences in the Edit menu

    Click the performance tab

    Deselect the graphics processor

    Restart Lightroom

    Let us know if that helps.

    Kind regards

    Mohit

  • Why when I choose a photo in the library grid view it does not appear in the window to develop up to selected in the Filmstrip below?

    Why when I choose a photo in the library grid view it does not appear in the window to develop up to selected in the Filmstrip below?

    It was the strangest thing, but I think I solved the problem. Use the CC version 2015.1 on a Wacom tablet using Win 8.1 and inadvertently from the same batch of photos, I had downloaded twice and it was very confusing because it did not prevent the duplication of files, but the files where not really there. I didn't know whether to remove or delete the files with question marks for fear of destroying a link or something so merged files and now everything works as it should, once chosen in the library that the photo appears in develop mode.

  • The star rating does not appear on the image on the film after being assigned in the develop module. How can this be repaired?

    The star rating does not appear on the image in the film after being assigned in the library or development module. He uses appears before the last update.  How can it be fixed?

    Hi annl98929431,

    Greetings.

    Make slide film and make it appear larger than it is now.

    Concerning

    Rohit

  • I have a form in which the text area can be developed to accept more text, but the text does not appear on the printed copy.  How can I get the text to print?

    I have a form in which the text area can be developed to accept more text, but the text does not appear on the printed copy.  How can I get the text to print?

    Hi robinm6200,

    Make sure that you have selected 'Document and annotations' under 'Comments and forms' when printing.

    Kind regards

    Nicos

  • Dynamic object does not appear at the time specified in the slide.

    @

    Here's my problem: when I insert a bubble in the slide, set it to appear after 5.0 seconds and the display for the rest of the slide, it does not appear at the specified time. HOWEVER, if I move the speech bubble to appear from the BEGINNING of the slide, then it pops up. I thought that maybe I needed to add an effect to make it work, so I chose the thought bubble, and then add an effect of "fly in" and set the time. It will not always appear at a specified time - that if I put it at the beginning of the slide.

    Here's my question: why the smart object (bubble) does not appear at a specific time, but it will appear if I put the time "appear after" at 0 seconds? I also have tried to move this on the timeline and it still shows only at the beginning of the slide.



    Thanks much for any help.

    Hello

    I notice that you have a couple of what appear to be objects Button. I have highlighted them in the image below:

    Click on each of them and look at their properties. Change the "Timing" the break after is more than 8 seconds.

    See you soon... Rick

  • executable file does not appear in the list of programs

    After installation of my executable it does not appear in the list of all Windows programs. I've built a lot of executable and installers before but this is the first time I see this. The folder is created in the Program Files (x 86) directory and the program performed well when I double-click on the .exe.

    This sw was initially developed with LV10 with WinXP then moved to LV2012 with Win7 64 bit and then to LV2013 and it uses a plugin architecture (I'm still not very familiar with this).

    I also have these following questions:

    1. I don't remember so many folder created after building an exe file (see photo "filelist.png") before moving this application to LV2013, why all these dataX folders are created? (associated with the plugins?). Except for the data folder containing my ini and xml configuration files these folders all contain a single mnu file.

    2 - Why are there some records of pilot instrument included in the compilation? (Agilent, Keithley and Tek) I'm also using other equipment, and they do not appear in the construction. These problems with the build because of their tree VI live I had to either check turn debugging on or off the use of the diagram structure on these screws diagram which is certainly not the right way to do it.

    3. probably the most important, what would be a document of reference on how to create an executable and a Setup program for an application architecture plugin.

    Thank you

    Ben64

    You use LVOOP you use the NI Report Generation Toolkit, which is implemented using OBJECT oriented programming. Already this explains some of the additional folders that you see.

    Other components are of course part of lvlibp (packed project library) and where it will not integrate the EXE itself. Also their dependencies... which may explain support directories (data1, data2,...).

    Referring to other settings, the log file does not help much. So we can not tell you why the installation program does not create a program shortcut in "start > programs". If you check the "shortcuts", you should be able to see if there is a routine in the Setup to create such a link or not. If the parameter is there, but the installation fails to create, it can be connected to the user rights that you use to run the installer...

    Norbert

Maybe you are looking for