Views, Procedures, Triggers being marked as invalid

Oracle 11g 11.2.0.2
Windows 64-bit
Standard Edition
Why are Views, Procedures, Triggers being marked as invalid when there has been NO ACTIVITY against the database?
I can correct them today (by recompiling, no changes are necessary); however tomorrow the same Views, Procedures, Triggers will be marked as invalid.
I can guarantee that there has been NO ACTIVITY in that time frame.
Is there some view I can check to verify that there was no activity in that timeframe?
Thanks

I modified your query slightly, so I could see the results for the schema owner:
SELECT *
FROM   user_objects
WHERE  last_ddl_time > (SELECT Max(last_ddl_time) - 1
                        FROM   user_objects)
Here are the results:
{Code}
OBJECT_NAME                        SUBOBJECT_NAME   OBJECT_ID DATA_OBJECT_ID OBJECT_TYPE  CREATED                  LAST_DDL_TIME            TIMESTAMP           STATUS  TEMPORARY GENERATED SECONDARY  NAMESPACE EDITION_NAME 
S1_CONTRACT_FORMAT_VIEW                                116264                VIEW         16-JUL-2012 02.13.03 PM  15-MAR-2013 04.28.42 PM  2012-07-16:14:13:03 VALID   N         N         N                  1              
S1_QUANTITY_ENTRY                                      113211         113211 TABLE        16-JUL-2012 02.01.19 PM  15-MAR-2013 04.30.15 PM  2013-03-15:16:30:15 VALID   N         N         N                  1              
S1_PLC_DATA                                            113432         113432 TABLE        16-JUL-2012 02.01.51 PM  15-MAR-2013 04.30.30 PM  2013-03-15:16:30:30 VALID   N         N         N                  1              
FIN_BALANCE_FORWARD_LOCATION                           161145         161145 TABLE        15-MAR-2013 04.27.58 PM  15-MAR-2013 04.28.32 PM  2013-03-15:16:27:58 VALID   N         N         N                  1              
PK_FIN_BALANCEFORWARD_LOCATION                         161146         161146 INDEX        15-MAR-2013 04.27.58 PM  15-MAR-2013 04.27.58 PM  2013-03-15:16:27:58 VALID   N         N         N                  4              
FIN_BALANCE_FORWARD_LOCAT_NDX1                         161147         161147 INDEX        15-MAR-2013 04.28.20 PM  15-MAR-2013 04.28.20 PM  2013-03-15:16:28:20 VALID   N         N         N                  4              
FIN_BALANCE_FORWARD_LOCAT_NDX2                         161148         161148 INDEX        15-MAR-2013 04.28.20 PM  15-MAR-2013 04.28.20 PM  2013-03-15:16:28:20 VALID   N         N         N                  4              
S1_COMMODITY_TESTER                                    161149         161149 TABLE        15-MAR-2013 04.29.51 PM  15-MAR-2013 04.30.03 PM  2013-03-15:16:29:51 VALID   N         N         N                  1              
PK_COMMODITY_TESTER                                    161150         161150 INDEX        15-MAR-2013 04.29.51 PM  15-MAR-2013 04.29.51 PM  2013-03-15:16:29:51 VALID   N         N         N                  4              
9 rows selected But, I now have 9 Functions that afre marked as invalid; if I do a recompile they are OK.
There was NOTHING happening to that database; it was a WEEKEND whn no-one would access it.

Similar Messages

  • Views, Procedures, Triggers marked as invalid

    Why are Views, Procedures, Triggers being marked as invalid when there has been NO ACTIVITY against the database?
    I can correct them today (by recompiling, no changes are necessary); however tomorrow the same Views, Procedures, Triggers will bemarked as invalid.
    I can guarantee that there has been NO ACTIVITY in that time frame.

    Hi Murray,
    Perhaps you are correct about there being no activity in your database to invalidate those objects. But what about dependencies on remote DB objects that could have been invalidated (perhaps dropped and recreated)?
    http://docs.oracle.com/cd/B19306_01/server.102/b14220/depend.htm
    You may wish to use SQL Developer's object viewer Dependencies tab to check for that possibility. And I wonder about dependency management using timestamps, considering the recent switch to daylight saving time in much of the world.
    Regards,
    Gary
    SQL Developer Team

  • Privileges needed to view procedures, triggers, package bodies

    What privileges are needed for a user to view procedures, triggers, package bodies in another schema? I don't want to grant privileges more powerful than needed like 'select ANY'.

    If you want to give somebody access to view only some of objects without giving read/execute access to them probably the best method is to build your own view and give select acces to this view.
    Example:
    create view special_definitions as
      select view_name obj_name, 'VIEW' obj_type text
        from dba_views
       where owner='OTHERSCHEMA'
           and view_name in ('VIEW1', 'VIEW2', ...)
    union all
      select trigger_name,'TRIGGER', trigger_body
        from dba_triggers
       where .....
    grant select on special_definitions to special_user;Bartek

  • I have a question regarding emails being marked as unread when syncing with an exchange account.

    I have a question regarding emails being marked as unread when syncing with an exchange account.
    In the evening I can see I have 10 unread emails on my exchange account. I leave them unread. The following day, at work, I view and read all my mails from today and yesterday, so that I have NO unread messages. When I then sync my iphone it marks only the mails from today as read but, leaves all the mails from yesterday marked unread. Only solution so far is for me to go through the mails on my iphone one at a time for them to be marked as read.
    My mail account is set to sync 1 month back.
    I have had this problem on all the iphones I have had.
    I currently have an iPhone 5 and my software is up to date.
    What am I doing wrong?

    Hey kabsl,
    Thanks for the post.
    What type of email account is attached to your BlackBerry Z10? (POP3, IMAP, Exchange).  Also have you tried removing and re-adding the email account to test?
    Is this email account only setup on one computer or several computer?
    I look forward to your reply.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Taking backup of procedures,triggers,functions....

    Hi to all
    i have one user....i want to take backup of procedures ,triggers,functions of that user....as the no of procedure n triggers n functions r above 200...how i can take back up of this things i have to import this user at my client side.....as i have done export command but it didn't take procedures,triggers n functions...
    tell me some way....
    thank u in adbance...
    bye

    Oracle Version : 10g
    Example
    Used "exclude" clause with "expdb"
    The following is an example of using the EXCLUDE statement.
    expdp hr/hr DIRECTORY=dpump_dir1 DUMPFILE=hr_exclude.dmp EXCLUDE=VIEW,PACKAGE, FUNCTIONhttp://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#sthref111

  • How could I find which i-views/pages are being used

    Hello
    I am pritty new in portal area. I have to administrate an ESS/MSS portal during hollydays. I am trying to find everywhere the way.
    How could I find which i-views/pages are being used. Let say I can see which group I belong and which roles are behind.
    How could I know in which PCD folder they are taken into account (to e.g give permission to someone not in the group)

    HI,
    the user administration (UME) gives you the information about the user <-> group <-> role assignment.
    When you know the role, search in the PCS for it, open the role and you will see all the pages / iviews assigned to the role.
    SAP Help: Role Assignment: http://help.sap.com/saphelp_nw04s/helpdata/en/59/bf2287b3cb5e48af94f99929ad15b9/content.htm
    SAP Help: Content Administration: http://help.sap.com/saphelp_nw04s/helpdata/en/5a/0339000c0b11d7b84800047582c9f7/content.htm
    br,
    Tobias

  • Sent messages are being marked as "unread"

    Ever since installing OS X 10.8.3, both my iMac and MBP have been leaving sent messages marked as "unread".  Not all outgoing messages are being left in this unread state, but most are.  Any ideas on why this might be happening and how to fix it?  Is anybody else having the problem?  A search of the forums shows some old material that might be related, but I don't see anything that has any answers.   
    TIA for you help.

    This stopped happening as mysteriously as it started for me. The only change made on my end is that I added some seemingly unrelated filter Rules - around the same time (i can't be entirely certain if it stopped before or after the Rule changes) the proble with sent messages being marked as unread stopped. I doubt that the Rules actually had a direct effect, though perhaps it altered the structure of memory enough to stop the bug from occurring (something which I've seen many times in my 40 years of programming).

  • Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.

    Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.
      intially i created view object named EmpByEmail.........for that EmpByEmail1 is created in datacontrols....i deleted EmpByEmail in demo.model by mistake and i created again with same name EmpBYEmail another view object...again another EmpByEmail2 is created in datacontrols.....
    while i am running i am getting following error:::::::
    Error: demo.model.AppModule: Application module demo.model.AppModule has a view instance EmpByEmail1 that references an invalid view object.

    Hi,
        Please seasrch for the EmpByEmail1 file in ur project and remove all the details in the Page Def and UI and then try again.
    Due to the EmpByEmail1 existance in page Def this may occur . It may help , still if it was not working then I am sorry for that.

  • Mail being marked as read automatically

    I have iOS 6.1.4 on iPhone 5 and multiple mail accounts.
    Gmail or Exchange - mail is being marked as read automatically even if I have not touched the mail. Not sure why this is happening but it is definitely an issue. I also beta tested version 7 beta 2 ios and it does the same thing.
    with 5 minutes of the mail running on the iphone and no user intervention mail files are marked as read. The read is then synced to Gmail and Exchange accounts so you miss mail as all are marked as read.

    I have stumbled across and answer to a similar question posted in 2012.
    Search for :
    How do I stop Mail auto-reading emails
    It is not possible apparently.

  • Mail being marked as read after I have read it - iOS

    I have an issue where mail is being marked as unread immediately after I've read it on my iPad (3rd Gen) and iPhone 5 both running latest iOS 7. Any ideas?
    I can see the blue dot, then I open the mail, the dot disappears temporarily, then while the mail is still open and I'm reading it the blue dot comes back. Its happening with two accounts setup as IMAP on both my devices.
    Could this be a problem with the server on the side of my mail client? For what it's worth I have the same two accounts setup on my MacBook Pro as IMAP and have no such issue.
    Any help would be great!

    This reply to is to correct the title of my question. It should read "Mail is being marked as UNREAD" after I have read it"

  • All emails into my inbox are being marked as read whether they are or not.

    All emails coming into my email inbox are instantly being marked as read. This is happening whether or not they have been opened in the reading pane, and is also happening on a colleagues computer as well.
    Any suggestions as to why this may be happening?
    It seems to have only started opening in the last week or two and I have not changed any settings in the mean time.

    Sounds like you both have the same messed up add on. Try restarting Thunderbird with the add ons disabled and see if things go back to normal.
    You can do this from the Help Menu.

  • Email being marked as unread after a reply in 2013 Pro Plus

    Starting this week, anytime I reply to an email from Outlook 2013, the email is being marked as unread. This causes my phone, ipad, and other devices to show that I have an unread message when I do not.

    Hi,
    Do you have any add-in installed in your Outlook? If so, we may try to start Outlook in safe mode to see if this issue is caused by nay problematic add-in. To do this, press Windows key + R to open the Run command, type
    outlook.exe /safe and press Enter. If this issue would be gone in safe mode, please go to File > Options > Add-ins and disable suspicious add-in to resolve the issue.
    If this issue continues in Outlook safe mode, we may also try to login to webmail interface and check if this issue can be reproduced from there.
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • TS2755 somehow the messages i havent read are being marked as read.. how is this?

    please help!

    This stopped happening as mysteriously as it started for me. The only change made on my end is that I added some seemingly unrelated filter Rules - around the same time (i can't be entirely certain if it stopped before or after the Rule changes) the proble with sent messages being marked as unread stopped. I doubt that the Rules actually had a direct effect, though perhaps it altered the structure of memory enough to stop the bug from occurring (something which I've seen many times in my 40 years of programming).

  • Product invoices sent to my customers are being marked as spam. Is there a way to fix that?

    Customers who buy my products get an invoice as a confirmation, but its being marked as spam. I know that the quick fix would be for the customers to mark it as "Not Spam" but I need something more concrete. Is there a way to fix this?

    If you state where you live that would be helpful. Walgreens has an app that you can send photos to for printing and then you can pick them up.
    I think this what you are asking about.

  • New messages being marked as unread (before I've read them!)

    Starting this morning some of my new, unread messages are being marked as unread by Mail.app.
    Any ideas?

    I'm having the exact same problem, for the last few days. I don't know if it's Mail for Snow Leopard, Mail for iOS 4, mail for iOS 3.2, or Gmail that's the problem. I'll turn things off at some of my devices and try to narrow it down, then report back.

Maybe you are looking for

  • Active directory copnnection problem

    Hi all, I try to connect to an Active Directory using JNDI but I'm not successfull. I always get the same error saying that my credentials are not valid. It seems that I have to use an UPN to connect, but I don't know how to use it. The usual paramet

  • Migration of Discoverer 1g reports to OBIEE

    we are trying to migrate reports from Discoverer 10g to OBIEE 10.1.3.4.We have migrated the EUL using the utility tool provided by OBIEE. Now we were trying to use the sample reports and migrate the same to OBIEE 10.1.3.4. We are using a sample xml w

  • Cant scroll in itunes store

    since the 10.4.0.80 update i occasionally cant scroll up or down the page. if i go back and forwards to the page again it will work fine. no clue why this is happening. probably just a bug but if anyone can provide any help on possible solutions to t

  • Discoverer version compatable with 8.1.7

    We are currently upgrading from 7.3 to 8.1.7, and I am wondering if the current version of Discoverer will still be compatable. What I am looking for is for someone to tell me what versions of Discoverer are compatable with 8.1.7 of the database or p

  • Customer Creating FD01

    Hi, Do you know if there's an IDOC for transaction FD01?  I'm writing an XI interface where I read from an external database using JDBC and then I create an IDOC to generate the customer. I'm using DEBMAS06, but I cannot post the idocs because it com