View the script that created a view on another user

How can I see the script for a view?
Thank you

From sqlplus do following:
set pages 0
set long 10000
select dbms_metadata.get_ddl('VIEW', 'View_name') from dual;

Similar Messages

  • I want to customize the script that creates ID contact sheets

    I'm using Bridge and InDesign CS3. I just discovered the powerful tool of creating the contact sheets with Bridge. I was wondering if I could edit/customize the script that creates this function.
    I do not want a 1 pt border around my images or caption boxes. Does it use a JSX file and if so which one? I'm on a mac.

    I have added this script into Bridge following the path listed. When I generate an indesign Contact sheet I get an error??
    http://www.twistedjunkie.eclipse.co.uk/images/error.jpg
    not sure whats happening. I need to generate a contact sheet without reducing the image smaller than the A4 page, and without the keyline.
    could someone help
    lister

  • Creating a materialized view for another user

    I don't seem to find the correct setup for this....
    With the user "dummy"
    CREATE MATERIALIZED VIEW dummy.thetable BUILD IMMEDIATE REFRESH FORCE ON DEMAND AS select * from real.thetable;
    And the materialized view is created ok.
    With a DBA user:
    CREATE MATERIALIZED VIEW dummy.thetable BUILD IMMEDIATE REFRESH FORCE ON DEMAND AS select * from real.thetable;
    ORA-01031: insufficient privileges
    I don't want to be switching back and forth from the user to create materialized views, am I missing a permission here? DBA of course has create any materialized view

    From the SQL Reference Guide:
    To create a materialized view in another user’s schema:
    - You must have the CREATE ANY MATERIALIZED VIEW system privilege.
    - The owner of the materialized view must have the CREATE TABLE system privilege. The owner must also have access to any master tables of the materialized view that the schema owner does not own (for example, if the master tables are on a remote database), and to any materialized view logs defined on those master tables, either through a SELECT object privilege on each of the tables or through the SELECT ANY TABLE system privilege.
    I suspect that, if you first GRANT CREATE TABLE TO DUMMY, you will be able to create the MV.

  • Privilege to allow a user to create a view in another user's schema

    Hello,
    I need to allow a user to create a view in another user's schema.
    Say, to connect as USER_A and run statement: 'create view USER_B_SCHEMA.myview as select...'
    Is there any way to accomplish that without granting USER_A privilege to CREATE ANY VIEW? I want to keep USER_A at the lowest profile possible.
    Thanks!

    You have the option to create an stored procedure, here a test case (no optimized, no bug free):
    SYS@orcl > create user sp_owner identified by sp_owner;
    SYS@orcl > grant create any view to sp_owner;
    SYS@orcl> create procedure sp_owner.create_view (
      2  view_name varchar2, view_sql varchar2 ) is
      3  begin
      4    execute immediate 'create view '||view_name||' as '||view_sql;
      5  end;
      6  /
    Procedure created.
    SYS@orcl > create user test identified by test;
    SYS@orcl > grant create session to test;
    SYS@orcl > grant execute on sp_owner.create_view to test;
    TEST@orcl> execute sp_owner.create_view('scott.emp_vw','select * from scott.emp')
    PL/SQL procedure successfully completed.HTH
    Enrique
    PS. If your problem was solved, consider marking the question as answered.

  • "Could not find the application that created this file" error when trying to combine files

    I am working with a user that is trying to combine a pdf & word doc (docx).  When they try to combine the files she gets the error:  "Could not find the application that created this file" & "Please select a file created by an application that resides on your computer".  The computer is running windows XP, with office 2010 SP1, & Adobe Acrobat Pro X.
    Per previous suggestions, I have already checked to see if Adobe PDFMaker is enabled as a Word plugin, and it is.
    Recentley the user was running Acrobat 6, and this error did not occur.  It is only after upgrading to Acrobat X that this is happening.  Any help with this issue would be appreciated.

    This can also be caused if the files are in a folder deep in the file system. For example C:/xxxxxxxxxxxxxxx/yyyyyyyyyyyyyyy/zzzzzzz/aaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbb /cccccccccccccccccccc/dddddddddddddddd/eeeeeeeeeeeeeeeeeeee/ffffffff/ggggggg/hhhhhhhhhhhhh hhhhhhhhhh/myPDF.pdf
    At some point Adobe PDFMaker cannot handle the path length (also, Windows can't handle the path length either eventually)
    Solution: move the files to a shorther path (perhaps the desktop) and try from there.
    I am filing a bug report with Adobe. A descriptive exception message should be thrown instead of "could not file the app.."

  • Trouble creating a pdf converting Word doc ..."Could not find the application that created the file"

    Hello,
    I am working with Acrobat Pro 8 and am trying to create a pdf by converting a word doc. When I try that, I keep getting an error message, " Could not find the application that created this file...please select a file created by an application that resides on your computer." I can always convert a word into pdf first and then insert it into the pdf project that I am working on, however I have multiple files and I really would like to bypass that long step.
    I found another thread in this forum which talks about a simillar issue (http://forums.adobe.com/thread/429585).I tried the solution suggested there by Bill@vt regarding the print menu. I am not really sure if t have distiller installed, so I tried opening it in acrobat, but it failed. During the process, I got the follwing message "Check the Status column for a list of files that could not be printed".I do not have any clue how to check for AcroTray running in the background.
    I would really appreciate any help.
    Thanks!

    If Distiller failed to open, it sounds like you need to do a repair of your Acrobat installation. Have not heard that one before!

  • I need to know the Object that created my Object

    help needed!!
    From inside a method of myclass, I want to call a method of the class that created myclass..
    public class BSQL{
    private Manager m;
    public void BSQL() {
    m = new Manager();
    public void beeep() {...}
    The other class:
    public class Manager {
    public void x{
    !!need to call beeep() from the BSQL that created me

    Try this....
    public class BSQL {
         private Manager man;
         public BSQL() {
              man = new Manager(this);
              man.doManagerStuff();
         public void doSqlStuff() {
              System.out.println("Doing stuff.");
         public static void main(String args[]) {
              BSQL b = new BSQL();
    public class Manager {
         private BSQL creator;
         public Manager(BSQL creator) {
              this.creator = creator;
         public void doManagerStuff() {
              creator.doSqlStuff();
    }

  • Firefox has broken the link that creates menu / task bars

    firefox tells me it has broken the link that creates task / menu bars. I've uninstalled & reinstalled. Everytime I built new task bars through internet, Firefox crashes on me. Help please.
    == 2 days ago

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How can I cancle the job that created by SGEN

    Dear all,
             How can cancle the job that created by SGEN. after i run the T-code SGEN. I have shutdown the server. But after i restart the Server, the job is dead. but can not be cancled by SM37. When i terminate the job in the SGEN it can not work too. any other way to cancle the job?
             thanks!

    Hi Michael,
    PLease click on "CHECK STATUS" for this job in SM37 and check on "process ASAP".
    Then if there is no BTC work process for this job running in SM50, then this job status will change from "running" to "cancelled".
    Please try this and let me know the output.
    Regards,
    Hari Kishan

  • Could Not Find The Application That Created This File

    Hello Community,
    I have already been to the Acrobat forum with this post and they re-directed me to this forum.
    My problem seems to be with a InDesign file that will not export to a PDF, nor can I create the PDF from within Acrobat itself.  BTW I have Acrobat 8.1.6 on a Vista OS.
    Here is what I've done thus far:
    restarted my computer, which didn't correct anything
    printed the InDesign file to the PDF printer unsuccessfully
    Checked for InDesign and Acrobat updates and found I'm current with the updates
    Please NOTE:  I have no problem with creating a PDF with either a Word or Illustrator file; it's the InDesign file that's giving me a problem.  The message I get when I try to export from within InDesign to a PDF file is "Could not find the application that created this file; please select a file created by an application that resides on your computer."
    Please help.  Thank you very much.

    Hi John,
    Before replying to you, I decided to give it another go.  This time out, I
    was finally able to export the InDesign file, which I created, to a PDF.
    Hooray!
    I have found, in the past, that restarting my computer will clear something
    in my system, and then I can create the PDF.  Sometimes this inability to
    create a PDF happens in Word.  But this time around it was InDesign that was
    the problem file.
    Maybe it has something to do with the preferences menu.  I'll have to check
    this out.  Otherwise, all is fine.  Thanks for answering.--Pat

  • How to find the program that create trace

    Hi,
    my trace directory in the DB has a lot of traces that been generated .
    Mostly they look like as follow:
    erp_ora_26441_ANONYMOUS.trc
    I have run tkprof againt one of them and found :
    SQL ID: 4g2612tvbn0j8 Plan Hash: 0
    begin FND_TRACE.START_TRACE; end;
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        0      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.03          0          0          0           2
    Fetch        0      0.00       0.00          0          0          0           0
    total        2      0.00       0.03          0          0          0           2
    Misses in library cache during parse: 0
    Optimizer mode: ALL_ROWS
    Parsing user id: 57
    ......How can i found the program that creating those traces ?
    Thanks

    Hi,
    plz refer old thread:
    Concurrent program Level trace vs Request Level trace
    Regards
    Haafiz

  • IDVD disk won't play on the computer that created it.

    I am running iM6.0.3 on a G5 MAC with OS X 10.3.9.
    My problem is that after I create a movie with iMovie, and burn it to a DVD disk using iDVD, the G5 Mac that I created it on cannot then read the disk. It just ejects it. No disk icon ever appears on screen. However, the DVD disk plays fine on my consumer DVD player, even my Windows PC, and also on other Apple computers. Commercial DVD disks play fine on my G5. It just won't play the disks that I create on it.
    One other factor: I am burning these disks to Hewlett-Packard DVD-R 16x disks. I have heard that there can be a problem burning to 16x disks on iDVD that is rated for 4x, but I have had no difficulties that I am aware of. I am wondering if perhaps my G5 cannot read the 16x disk on playback, and I should be using 4x. ( I just don't have any 4x disks handy at the moment.) But then, why would other apple computers and DVD players be able to play my 16x disks?
    Any suggestions as to what might be the problem? Any comments would be much appreciated.
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.9)  

    Hi Rich,
    Just my comments:
    DVD issues have plagued the Mac OS since 10.0. I have the same problem. DVD's I created on my machine are the same regardless of how they are created (data DVD or "Movie"). When it doesn't immediately eject them back out it will ask me what I want to do with the blank DVD I have inserted yet another machine plays them just fine. A DVD contains two "tracks" one is about 1 GB± and is unaccessible to users with consumer products (including most "pro" apps) and contains the information for the various types of DVD Players to know what to do with the data including the manufacturers info i.e. type of DVD (RAM, ROM, -R -RW etc) as well as read/write speeds. One very important piece of information is the time-code. DVD uses SMPTE time-codes and Mac OS X as you've experienced can write them but cannot seem to read them properly, that's why they work on the other machines and not the one that created them. Even if the Mac isn't writing them 100% the DVD playback SW in most set top boxes can compensate for this error as they are expecting data from all types of SW and burners. I am assuming the "other" macs are most likely G4's as this is my experience.
    Write speeds should not be as much as a factor as they appear to be. Trying to burn 16X to a 4X disc would be a problem (most burning SW would prevent this anyway) but 4X to a 16X disk should not. I have tried every disc speed and setting and it is always the same.
    This is what I know on this subject. It also appears to be the reason for the 60 min limitation as well. Apple's replacing DVD drives at an extremely high rate and many of them are most likely returning to service in another machine as there is nothing mechanically wrong with them. Apple care does not test the equipment the same way as the manufacturer/remanufacture and most Apple HW tests indicate they are in working order as well, however if they can duplicate the issue they replace the drive. You can have them replace the drive but the problem will most likely persist.
    At this point my only hope is that Leopard resolves these issues but because they've persisted for so long I am not getting my hopes up.
    I can't install 10.3.9 on this machine but I am curious if you went back to a QuickTime version prior to 7 if that makes any difference. You will lose some functionalities here as QT is actually part of the OS and updates have added functionality that was previously only available in 10.4 such as it allows the video apps to use the graphics card instead of the processor whenever possible so you will notice a slow down and possibly an elimination of "real time" editing in most apps and some of the Quartz video effects will no longer work.
    Sorry I don't have any solution but am quite certain this is what the problem is.
    Sweet Polly

  • Camera being viewed by another user message

    I'm getting this message when I try to go to live streaming. Sorry, Camera live video cannot be viewed at the moment.
    The camera is being viewed by another user
    Anyone get this?

    yes, i get that too! at first i panicked but I think the system doesn't reset itself when you exit the camera and when you go back in it thinks your someone else - thats just my theory, or wishful thinking??

  • Iphoto on my macbook pro has stopped working. It comes up with a message saying that the library is either being used by another user or it is unreadable. Any ideas why I should be receiving this message?

    MacBook Pro 2009
    Model Identifier: MacBookPro5,1
    Processor  2.4 GHz Intel Core 2 Duo
    Memory  4 GB 1067 MHz DDR3
    Software  OS X 10.8.5 (12F45)
    Iphoto '11
    Iphoto on my macbook pro has stopped working. It comes up with a message saying that the library is either being used by another user or it is unreadable. Any ideas why I should be receiving this message?
    "Your photo library is either in use by another application or has become unreadable"
    Offered solution doesn't work:
    Shut down and restart your computer, and then open iPhoto again. If the problem persists, try rebuilding your photo library. To do this, quit iPhoto, and then reopen it while keeping the Option and Command keys pressed. You can also try restoring your photo library from a backup.
    I have already copied my photographs to the a library manager but when I tried to reuse iphoto and import the photos back into iphoto, it would not let me.
    I can't download photographs from my iphone or my digital camera.
    Any ideas on how I can solve this problem?
    There is a possibility that when I went to update applications that I started to install Mavericks which I then interrupted and cancelled. I am not definite that this caused this problem but it was at about the same time as when this problem started.
    Many thanks,
    Ed

    I have already copied my photographs to the a library manager but when I tried to reuse iphoto and import the photos back into iphoto, it would not let me.
    You can't "copy" your photos to the "library manager", there is just no way to any such thing.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Yesterday Colloquy crashed on my iPad after an Arabic text string was pasted into the IRC channel that I was on. Another user using Linkinus was also affected. As I understand it, this vulnerability has to do with Webkit. What is being done about it?

    Yesterday Colloquy crashed on my iPad after an Arabic text string was pasted into the IRC channel that I was on. Another user using Linkinus under Mountain Lion on her Macbook Pro was also affected. As I understand it, this vulnerability has to do with applications that use Webkit. What is being done about it? Can we expect security updates for Mountain Lion and iOS 6 soon?

    AFAIK, there has not been an update regarding this issue as yet.
    Rendering bug crashes OS X, iOS apps with string of Arabic characters (Updated) | Ars Technica
    You can send feedback to Apple >  Apple - Mac OS X - Feedback

Maybe you are looking for

  • ITunes Seem to Have Suddenly Stopped Communicating With the CD/DVD Burner

    Hello, I wonder if anybody can help - my itunes application seems to have suddenly stopped communicating with my laptop's cd/dvd burner (Generic Name (E: H - T-S D D A S - 20N ATA Device)). About 2 years ago, I have experienced a similar problem, but

  • JDBC receiver adapter - stored procedure response

    I am on PI 7.11 and have the following scenario: RFC->PI->JDBC whereby the JDBC receiver access an Oracle db (unsure of that version) using a stored procedure "GET_ICBC_ID". My issue is that I never seem to have any data back in PI on the JDBC respon

  • AppDomain was unloaded - out of memory happened

    Hi, Please help me to resolve this SQL server error - Im getting below error occasionally and sometimes it gets resolved by itself. Error: AppDomain mydatabase.public[runtime].44 was unloaded by escalation policy to ensure the consistency of your app

  • Collective search on the Select-options field on the selection screen

    Hello experts,                    I have a Y program and a selection screen for it. I have to get the BKPF-BELNR in the search help list. Since the table is too bulky to get all the documents form it. I thought I might need a condition of company cod

  • Exception occurred: "AI Group Config"

    Recently I have gotten a problem with my LabVIEW VI, used to acquire data from a MEA-Chip. As soon as I try to change the setup of my PCI 6071 E I get he following error: Exception occurred within the external code called by a call library function N