A way to get the owner of the current procedure

The user X is the owner of this procedure
CREATE OR REPLACE PROCEDURE P_REPL
BEGIN
DBMS_REFRESH.REFRESH ('X.GROUP1');
END P_REPL;
Is there a way so that I would not have to hardcode 'X'. I would like to replace 'X' by the owner of the procedure, so that if the owner change, the procedure would still work.
USER doesn't work, because if the user Y call this procedure, the value of USER is Y, not X (the owner of the procedure).
Thanks
Jérôme

Apparently a popular question today...
sys_context('userenv', 'current_user')

Similar Messages

  • Is there a way to get a log of the bluetooth devices my iphone has been connected to?   My Bluetooth car speaker phone was recently stolen from my car and appears to be on Craigslist.

    Is there any way to get a log of the bluetooth devices my Iphone has been connected to?  I recenly had my Bluetooth Jabra stolen from my car and now a simliar one is on Craigslist.  I'd like to give my connection log to the police before I go and see if my Iphone recognizes the device in question.  Any way to get any type of bluetooth device connection log out of my iphone?

    Your contacts should still be on whatever program you sync your iphone to (i.e. Outlook, address book).
    The iphone is not a stand alone device. It is designed to be synced with a computer. If you have not been syncing with a compatible program, then you are out of luck. Your contacts are not included in the back-up because it is meant to be synced with your computer.
    "Although iTunes backs up most of your iPhone and iPod touch settings, downloaded applications, and other information (Contacts, calendars, notes, images in the Camera Roll), your audio, video, and photo content are not included in the backup."
    http://support.apple.com/kb/HT1414

  • Is there a way to get a version of the Garage Band app that runs on version 5.1.1?  I have an iPad 1 and can't get any higher iOS.  The App store is telling me that Garage Band only runs on iOS 7.

    Is there a way to get a version of the Garage Band app that runs on version 5.1.1?  I have an iPad 1 and can't get any higher iOS.  The App store is telling me that Garage Band only runs on iOS 7.

    Unfortunately the answer is still no.

  • TS3694 my iphone crashed during update now i have to restore but dont have my latest photos backed up ? i have a picture of itunes with the usb on my screen and cant go any further? is there a way to get it back without the update?

    my iphone crashed during update now i have to restore but dont have my latest photos backed up ? i have a picture of itunes with the usb on my screen and cant go any further? is there a way to get it back without the update?

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    worth looking at for the future to understand backing up etc

  • Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Is there any way to get my reminders (from the new iPhone app) to sync with something on my laptop (Mail, iCal, some other desktop app)?

    Yes, if you have iCloud set up on your phone and computer, then reminders will be synced through iCal.

  • Is there a way to get my ipod past the logo screen ?

    is there a way to get my ipod past the logo screen ?

    - Have you tried resetting the iPod. Nothing will be lost.
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    -Next connect the iPod to its syncing computer, if iTunes sees the iPod restore the iPod via iTunes.
    - If iTunes does not see the iPod see if placing the iPod in recovery mode will allow iTunes to see the iPod so your can restore the iPod.  For recovey mode see:
    iPhone and iPod touch: Unable to update or restore

  • Is there a way to get CF to overide the original file?

    When I upload a file to cf, cf will rename the file if the
    file already exists. Is there a way to get CF to overide the
    original file?

    Yup there sure is.
    The documentation even tells you all about it.
    http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_f_10.html
    I'll even point out that the 'nameConflict' attribute is the
    one you
    will want to read.

  • I am still running OS x 10.5.8 what is the next step up and the easiest way to get it. Does the Genius bar have the capability to get me to the most recent software if I take my Imac in

    I am still running OS x 10.5.8 what is the next step up and the easiest way to get it. Does the Genius bar have the capability to get me to the most recent software if I take my Imac in

    iMac G5 - you are at the end of the line, though you may be able to upgrade your RAM, or hard drive.
    iMac CoreSolo, CoreDuo - you can upgrade to 1 GB of RAM or 2 GB of RAM and get up to 10.6.8.
    iMac Core2Duo - you can upgrade to 2 GB of RAM or more and get up to 10.7.2.
    Go to Apple menu -> About This Mac to determine which Mac model you have.
    Here's what you have to watch out for on 10.6 to 10.6.8.
    Here's what you need to watch out for on 10.7 to 10.7.2.
    Some stores may not have 10.6 installer CD available, or may not have 10.7 Flash drive available.  For those you have to make the purchase from elsewhere,
    and bring it in to the store with you.  http://www.apple.com/retail has phone numbers for all their stores, and extension 5 often will get you a real person at the store, though if yuo don't get it, you might try a different extension.

  • I have an iPod whose contents I want to transfer to a newer Ipod.  At some stage I lost the music files from my library.  Is there any way to get them back from the older iPod and put them onto the newer one again?  I stupidly synced the wrong one.

    I have an iPod whose contents I want to transfer to a newer Ipod.  At some stage when I thought I was syncing correctly I wasn't so I lost the music files from my library.  Is there any way to get them back from the older iPod and put them onto the newer one again? 

    Have you not got a backup of your content on, for example, external drives ? If not then you could have a look to see if any of the utilities mentioned in this old post still exist and work : https://discussions.apple.com/message/11014893?messageID=11014893#11014893

  • I upgraded to Ios5 and have lost my contacts and other app profiles - is there any way to get them back from the backup taken before the IOS5 process started?

    I upgraded to IOS5 and have lost my contacts and other app profiles - is there any way to get them back from the backup taken before the IOS5 process started?

    Thanks but have tried that - When I try to restore I get a -50 error and into a loop of taking another back up.  I took a copy of the back up before the IOS upgrade and have it stored on my desk top but I cannot get Itunes to restore to that back up
    Any ideas how I can do this?

  • HT1711 When I am in the iTunes store site and listening to samples of music the songs stop playing after 12 seconds. Does anyone know a way to get it to play the full one and one half minutes?

    When I am in the iTunes store site and listening to samples of music the songs stop playing after 12 seconds. Does anyone know a way to get it to play the full one and one half minutes?

    I have a similar problem with at least two songs that I know of, one is an iTunes download (encrypted) the other was imported from a CD using iTunes (no encryption). Both songs play 2-3 seconds then immediately go to the next song. The "weird" thing -- I plugged my iPod into my new MacBook which has no songs other than what are on my iPod (i.e., not playing the song from another source) and both songs play fine. Unplug the iPod from the computer, plug in headphones and the songs skip again.
    I've gone through the 5 R's as well, with no luck.

  • Is there a way to get lightroom to search the computer for catalogs like aperture does?

    Is there a way to get lightroom to search the computer for catalogs like aperture does? I've switched over from Aperture to Lightroom, and i liked how in Aperture when i went to open "other library" it would basically scan all connected drives for them, and show me when last opened and what version. Is there a way to do this with Lightroom, either in program or by a third party app?

    The user interface is on a level of elementary PC software
    something I have deteced till now
    no free moving workspace windows
    no search function for the whole catalog
    no support of mpg files in the archive
    no chromatic appararture correction
    second screen sometimes gets lost, when moving between screens
    no automatic creation of collection ( very risky direct interfacing with the original file system )
    wrong counting of objects in catalog folder when creating virtuel copies
    What worked good is the import of the APERTURE Archive ( 40000 objects ) took me one night and its there with the above obsticles!!! I am using just three days and I have to say
    not user friendly
    not workflow supporting
    risky user interfacing with masters
    As JimHess stated, there is no risk working with the masters.
    Chromatic aberation correction is available in Lightroom, searching the entire catalog is available in Lightroom.
    With regards to your other comments, the idea that Lightroom should work the same (or very similar) to Aperture is one that you should remove from your thoughts. It will only get you into trouble. Lightroom is not Aperture and will not work the same, and has different underlying principles, and so its pointless to think you will be able to do everything the same way you did it in Aperture. You need to be open to Lightroom's features, and Lightroom's way of doing things. I agree with JimHess that it takes most people a while to learn Lightroom's way of doing things, but your patience will be rewarded.

  • I have an 06' macbook and I just bought an 07' macbook.. The 06' has os x 10.6 but the 07' has 10.5.. I no longer have the disk for snow leopard. Is there ANY way to get snow leopard from the old computer to the other without having to buy it again?

    I have an 06' macbook and I just bought an 07' macbook.. The 06' has os x 10.6 but the 07' has 10.5.. I no longer have the disk for snow leopard. Is there ANY way to get snow leopard from the old computer to the other without having to buy it again?

    Technical issues aside, there's still a legal issue.
    Neither 2006 nor 2007 MacBooks shipped with Snow Leopard 'factory' installed. OS X 10.6 Snow Leopard became available in September 2009. So you purchased and installed a Snow Leopard upgrade disc on the 2007 system at some point.
    If your Snow Leopard upgrade was a single-user copy, then legally, you need to purchase another one for the second computer. If your Snow Leopard upgrade was a Family Pack 5-user license, then you're good to go.
    http://store.apple.com/us/question/answers/product/MC574Z/A?pqid=QTUXD7AF4YU9FJD YUTDPCKYKUDDDXKHTK
    If you have an active MobileMe account, Apple was giving away a single-user upgrade copy of Snow Leopard for a limited time, and you should have received an email with a link, or been offered the opportunity when you signed in to your MobileMe account on the web:
    http://www.macrumors.com/2012/04/24/free-snow-leopard-discs-for-mobileme-users-n ow-arriving/
    Worst case, single-user Snow Leopard upgrade discs are $29 retail, direct from Apple. I'd hate to have two computers and no OS installation CD's for whatever version I'm currently using.

  • I was wondering how i could get in contact with the owner of the Apple company or maybe a developer?

    I need to know how to get in contact with the owner of the Apple store line or the developers of this company

    For what purpose? animal...vegetable...mineral...legal...?
    Are you a developer yourself?
    Apple Developer Relations: 
    (800) 633 2152
    (408) 974 4897
    And see the 'Contact Us' link below.

  • Other ways for getting a reference to the current page [ID5, JS]

    To get a reference to the page you're working on (or that holds an object you want to manipulate), you could use app.activeWindow.activePage.id or app.layoutWindows[0].activePage.id.
    But when you're working on a spread and this spread fills your application window, you seldomly get the correct page reference. You could have a selection on the right page, but when you run a script with the active/layoutWindow approach, you could easily get a (wrong) reference to the left page, if that one is more 'dominant' in your program window.
    I work around this by using activeSpread and getting the Y-coordinate of a frame or insertionPoint on the page I'm working on. When you set the ruler origin to spread, you can determine the left or right page by looking at the Y-coordinate. If it's higher than the page width (or spine position) you're on the right hand page. You could than use if...then to assign 0 or 1 a to a variable. Finally, you can get the ID of that page: app.activeSpread.pages.item(variable).id.
    Perhaps this approach is helpfull for others who struggle with page references.
    My question is: are there other reliable (perhaps more simple) ways to get a reference to the page?

    Right. I should have posted the question sooner, because shortly after I found the answer I've been looking for quite long. And once again it's so simple. Nevertheless it might be usefull to share.
    For most page items like textframes and rectangles you can simpy use the property parentPage. For instance, if you have selected a rectangle you get a reference to the page with code like:
    page = doc.selection[0].parentPage.id.
    This might be usefull if you dragged a rectangle holding an image to another page and want to run a script that re-attaches the caption frame. 

Maybe you are looking for

  • JCO Exception handling on ABAP side

    Hello Forum, I am implementing an JCO Server scenario. I use dynamic repositories like Example7.java from the JCO documentation. I understand that I need a remote Function module within ABAP, as STFC_CONNECTION exists for the example. This modules ac

  • Sub Contracting Challan

    Hi All, In Subcontracting process first we are sending the raw material to sub contracting  vendor with Sub Contracting Challan. Now subcontrating Vendor return the raw material due to quality problem. So, please suggest what process we have to do in

  • SaveXML ..

    Hi ,  i'm looking to save a set of business objects in an XML file  .. If I create a recordset like  rSet = (SAPbobsCOM.Recordset) program.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);             rSet.DoQuery("Select * From OINV

  • Will resetting allow reregeristing of the unit to someone else?

    I am new to the site. I use the Ipod as a remote only and no longer need it so I wish to pass it on to my child.  Hence the need to get reset to "out of the box" specs.  Any help is appreciated.

  • Not able to send texts to other iPhones why?

    MNot able to send texts to other iPhones why?