How to Correct Invalid Synonyms

Hi All,
Before everyone jumps to conclusions, I am not a newbie and I am NOT getting "ORA-00980: synonym translation is no longer valid".
I am aware of and very familiar with scripts, like http://www.oracle.com/technology/oramag/code/tips2003/113003.html , that detect and drop synonyms that are pointing to objects that do not exist. That isn't my problem either.
My problem is that I have thousands on synonyms on my 10.1.0.3 database that point to valid objects but claim to be invalid (SELECT STATUS FROM DBA_OBJECTS). If I reference one of these synonyms (say by selecting from it)it becomes valid.
The Documentation, http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10759/statements_2.htm#i2295590, claims that there is no "alter synonym" command. Yet garbage alter commands return:
ORA-00940: invalid ALTER command
While running "ALTER SYNONYM owner.synonym COMPILE;" as system returns: "ORA-01031: insufficient privileges"
So what is going on here? And how is a DBA supposed to make all of the synonyms valid?
Steven

Yes, that is right. If I run the same script that you show it doesn't work for me.
10:58:03 sbx4 > create user a identified by a ;
User created.
10:58:13 sbx4 > grant create session, dba to a ;
Grant succeeded.
10:58:28 sbx4 > connect scott/tiger@sbx4
Connected.
10:59:53 sbx4 > create synonym emp_synonym for scott.emp ;
Synonym created.
10:59:56 sbx4 > connect a/a@sbx4
Connected.
11:00:09 sbx4 > alter synonym scott.emp_synonym compile ;
alter synonym scott.emp_synonym compile
ERROR at line 1:
ORA-01031: insufficient privileges
I've tried this in a few different databases, all 10.1.0.3, some on Tru64 some on Linux Itanium.

Similar Messages

  • Entourage How to correct "invalid password"?

    I get message "Mail cannot be receive at this time." "Invalid password?"
    Demon ISP say all, including password, is working fine and the fault lies within my mac.
    We set up new account without success.
    Does anyone know the solution?

    Interimm –
    Most ISP’s offer some form of a Web Client, you may want to try and access your account that way. If you are not successful then you can go back to the ISP and have them ‘actually’ work on resolving your problem.
    One other item you may want to check is where you have the Require SSL option checked most ISP do not use this and if you have it check you won’t be able to access your account.
    Best of Luck –
    BH

  • Websheet objects non-existent or invalid -- how to correct?

    OS: RHEL 5.4
    DB: 11gR2
    APEX: 4.1
    After upgrade of APEX to 4.1, websheet objects non-existent or invalid -- hence, can not create Websheet app. Any clues on how to correct and/or what may be wrong? Sample database applications imported and working fine.
    Cheers!

    Got this figured out...
    Just had to install the sample Websheets from the Application.
    Cheers!

  • Invalid Synonym on Database Package

    I have recently modified a database package spec and package body for the first time since our upgrade to Oracle 10.2.0.4.0. Once I ran my code to modify the package spec and package body, the synonym became invalid. I've read that this is a new feature in Oracle 10g. I'm just wondering how I get the synonym valid again. I have tried recompiling the package spec and body again and I've also tried executing the package. The package executes fine, but the synonym still has a status of Invalid. If anyone can help I would greatly appreciate it!!
    Shellie

    Straight from the Oracle documentation:
    "To create a PUBLIC synonym, you must have the CREATE PUBLIC SYNONYM system privilege."
    So the user that you want to be able to create a public synonym has to have this done by a privileged database user:
    GRANT CREATE PUBLIC SYNONYM TO <the_user>;

  • HDMI cable - Plus Pay TV with HDMI cable. How to correct?

    Today i purchased Apple tv and was told to buy a HDMI cable which i did. My problem is my tv has 1 input and that input currently has HDMI cable connected to the Austar unit (pay TV). Any ideas how to correct this please? i.e. double adapter etc.

    Welcome to the Apple Community.
    The cheaper option is an HDMI switch, if you get one ensure you can exchange it if need be, not all will work as they should.
    You might also want to consider a receiver and sound system, modern receivers tend to have multiple HDMI inputs which would solve your problem.

  • HT204051 iphone5c i often lose wifi connection on 2 phones must reset to open. No other device connection problems just Iphone5  Why? How to correct?

    My two Iphone 5C disconnect from my wireless (wifi) router often.  Usually when changing from LTE network to wifi.  I must reset (turn off and on ) phone to regain wifi network.  All other dervices on wireless work great.  What is causing the problem and how to correct???

    Howdy Old rider,
    Thanks for using the Apple Support Communities.
    If multiple iPhones are having the same issue where ithey are disconnecting from your Wi-Fi network, then I'd like you to please review the settings on your router to ensure they match with the information in the article below.
    iOS and OS X: Recommended settings for Wi-Fi routers and access points - Apple Support
    Take care,
    Alex H.

  • I am trying to save a doc. to a external hard drive and it wont allow me. I says its read only, any ideas on how to correct it?

    I am trying to save a doc. to a external hard drive and it wont allow me. I says its read only, any ideas on how to correct it?

    Save it on the internal HD then copy it from this safe location to the external device.
    iWork applications can't apply their save process on devices which aren't formatted as HFS+.
    But it may also be that for some reason, an external device formatted as HFS+ is set to Read Only.
    If it's this case, you will have to change de setting before moving the file on it.
    Yvan KOENIG (VALLAURIS, France) vendredi 20 mai 2011 11:01:05
    Please :
    Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I've tried downloading iOS5 several times and after an hour each time I get a message that says my network connection has timed out.  But I can't find any information about "timing out" or how to correct the situation.  Any help?

    I've tried downloading iOS5 several times and after an hour each time I get a message that says my network connection has timed out.  But I can't find any information about "timing out" or how to correct the situation.  Any help?

    Disable your antivirus and firewall, and try again.

  • My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    My iMac is connected to a Brother printer. I have Snow Leopard 10.7.3 As of yesterday, when I try to print a PDF it prints as a blank black page. Does anyone know how to correct this so that the PDF will print as I see it on screen?

    If you are running Mac OS X 10.7.3 then you have Lion installed, not Snow Leopard. It's probably not important to this discussion, but something you should be aware of.
    What application are you printing the PDF files from? Have you tried opening the PDF file using the Preview application that can be found in the Applications folder? Does the issue still occur? Have you tried other PDF files from a different source?
    Another poster in the following discussion thread reported that this method resolved their black blank PDF issue when viewing (and presumably printing) PDF files from Safari.
    https://discussions.apple.com/thread/3890509?start=0&tstart=0
    This solved my question by mcbuffy  on Apr 20, 2012 11:29 AM 
    There's a solution if you want to see the PDF inside Safari's window :
    Go to the folder : Your Hard Drive / Library / Internet Plug-ins.
    If you see a file with PDF in its name drag it to the trash.
    Quit and restart Safari to test with a PDF.
    If it works you can empty the trash.

  • I have two email accounts, an aol account and a corp. outlook account.  When I enable the WI-FI connection I do not receive aol emails, yet I receive the outlook emails on my iphone4.  Any ideas how to correct this?

    When I enable WI-FI on my iphone4 and connect  to my network I do not receive emails from my AOL account, however, I receive emails from my corporate outlook exchange account.  When WI-FI is disabled I receive emails from each account.  Any ideas how to correct this?  Thanks in advance.

    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    * [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    * [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back soon.

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • How to correct system time

    Hi
    Can any one help me how to correct JVM time.. when we run interface at 14.00 hrs, file has been created with date and time stamp like 20090112-020012 this way.. however i would be expecting 20090112-140012 . here if you see the difference, 12 hrs time format has been set.. that's why system never shows more than 12 hours. Although it's a silly issue, but want to understand where we are missing.
    Thanks

    Hi Chinna,
    Check this links for changing the date in the UNIX OS
    http://www.ddms.com/Resources/Support/faq/unix/unixtime.pdf
    http://www.ehow.com/how_2029191_set-time-unix.html
    Regards
    Ramesh

  • In iTunes 11, when I click on "Artists," several "Album Artists" show up in list.  How to correct this?  Thanks!

    Hello,
    When I click on "Artists," a number of "Album Artists" are showing up in the list.  How to correct this?  Thank you!

    Is that the Bookmarks Menu button ?
    *https://support.mozilla.org/kb/how-do-i-use-bookmarks
    *https://support.mozilla.org/kb/common-questions-after-updating-firefox
    *http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    *https://support.mozilla.org/kb/Sorting+bookmarks

  • We have two Airprint capable printers thagt my wife uses with her Samsung Galaxy s4 but both printers are NOT listed on my iPhone 4s. any ideas why and how to correct??

    I have two printers ... Cannon MS5400 and an Epson Workforce 840 ... both are Airprint capable as my wife prints to both via her Samsung Galaxy S4.
    My iPhone 4S only has the Cannon listed when I go to print. Any deas as to what is going on and how to correct???

    There are a lot of posts in the forums today with people having problems with iMessage.   There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
    I would just wait it out - I'm sure it will be sorted out soon.

  • My daughters iPhone is frozen with the apple showing on the screen.  We have turned it on and off but it is still stuck on that screen.  Any ideas why or how to correct this?

    My daughters iphone4 is frozen to a blank screen with the apple on it.  We have turned it on and off and it still remains on this screen.  We cannot access gef phone at all.  Any idea why this is happening or how to correct?

    connect it to the computer/itunes you normally do.

Maybe you are looking for

  • New VideoTexture class can't be found

    Hello, I have been waiting for the videoTexture class for a long time and now it's been included with the new release of Air 17 sdk, but unfortunately I can't get it to work in my small test project. I read the release notes to find an answer for my

  • Corruption on export from Motion? Help!!

    Greetings, I'm experiencing an odd problem.. Unpredictably, my compressor output is completely corrupt, wacky horizontal lines across the frames, etc.. I've successfully exported this project TWICE, and after making a few minor adjustments, my last t

  • Creating optimized packages for my machine?

    Well, I want to create x86-64 packages for my machine with Arch linux. I really enjoy pacman hence my decision. Is there anything I need to do special for changing the optimization from i686 to x86-64? Or would a standard pkgbuild do this for me? I r

  • Can not logout, restart or shutdown

    I have a Mac running 10.5.8. I have seen this on different models as well. The user can not logout, restart or shutdown. When those commands are selected in the GUI nothing happens. In the past the only way I could fix it was to create a new profile.

  • Best Nokia for Voice Dialing?

    I have the 6300 and find the voice dialling all but useless. Neither do I need a voice tag for every contact. Assuming that Nokia do not intend, by means of a F/W update, to allow users to either disable the VD or record their own tags then can anybo