HOW can I get a STATUS OF TRIGGERs  TO FIRE CORRECTLY ???

Hi all,
I had trouble with a migrated DB (7.3.4 -> 9.2.04) why all important TRIGGER did not fire (Business Rules).
I could see all TRIGGERS WAS VALID with:
SELECT a.object_name FROM all_objects a
WHERE a.object_type = 'TRIGGER'
AND a.status = 'INVALID'
AND a.owner = Decode(Upper('SCHEMA'), 'ALL',a.owner, Upper('SCHEMA'));
but they DID NOT FIRE !!! (After recompiling all works well)
This is a production DB and I must:
- simulate this state - HOW can I do it ?
- HOW can I select this TRIGGER STATE in my PRODUCTION
system to re-compile this triggers ???
I must prevent this state on triggers before the user writes data from Forms to the Database:
if NOT TRIGGER_FIRE('Trigger') then RECOMPILE('Trigger'); end if;
Has anyone a good solution ?
Thanks in advance
Friedhold

Are you sure the triggers have been correctly imported? That they have been imported in the right user schema?
I remember having some problems with triggers when importing in an Oracle 8.0.5 database: the triggers got to be on tables in another schema.
And are they enabled?
Check the sys.all_triggers view:
select * from all_triggers where owner = &my_schema
and see the status column if it is "ENABLED".

Similar Messages

  • How can I get my clock to remain on the correct time when starting bootcamp and windows XP? wireless option is not available.

    How can I get my clock to remain on the correct time when starting bootcamp and windows XP? wireless option is not available.

    Have a look at solutions in here https://discussions.apple.com/message/10689317#10689317
    Regards
    Stefan

  • How can i get the status of the loaded database in OCI ??

    Hi, buddy!
    Now i wanna get the status of the loaded database,example MOUNT, NOMOUNT,OPEN. Can i use the OCI interface to get it? if it like that,
    how can i do? Otherwise, is there another way to do in program??
    thanks!!

    My friend, thank you very much for your help!
    I have tryed according to you advice. The result is that i can connect database successfully only when the database is in the OPEN mode. I use the V$DATABAES table to find the open_mode and of course the result is OPEN, so it's correct.
    But when the database is in the MOUNT or NOMOUNT mode, i can't connect the database successfully.It will throw the exception "ORA-01033: ORACLE initialization or shutdown in progress".
    Could you tell me why? Special thanks!!!
    Message was edited by:
    user588906

  • How can I get the status bar back on my web page

    I want to get the status bar on the bottom of the web page so that I can slide from left to right if an article is too large for my monitor. I had it this morning 1-5-15. After checking out Thunderbird as an option for my email, the bar disappeared after uninstalling Thunderbird. I know about hovering over the web pages I have on my menu bar, but I would rather have the entire bar at bottom of page.
    The gray bar shows up in my email only. I would like to have it on all my websites.
    Thank you.

    Does the scroll bar appear if you maximize the window or possibly switch to full screen mode via F12?
    You can try to open the system menu via Alt+Space and see if you can resize the window in case the current window is too high and the horizontal scroll bar falls off.
    Try to open a new window in case there is a problem with the current window.
    You can check for problems caused by a corrupted xulstore.rdf file.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I get my custom PS workflows to run correctly when I Retry them after a failure?

    I have some custom PowerShell workflows in place that monitor for status changes to various work items and add Action Log entries as required. As an example one of these workflows monitors for newly created Service Requests and creates an Action Log entry
    of the type "Record Opened" (script below).
    param ( [string]$SRIDInput )
    function Using-Culture
    [CmdletBinding()]
    Param([Parameter(Mandatory = $true, HelpMessage = 'The culture (language) to run the script in.')]
    [ValidateNotNull()]
    [System.Globalization.CultureInfo]
    $Culture,
    [Parameter(Mandatory = $true, HelpMessage = 'The scriptblock or wrapped script to run.')]
    [ValidateNotNull()]
    [ScriptBlock]
    $Script
    $OldCulture = [System.Threading.Thread]::CurrentThread.CurrentCulture
    $OldUICulture = [System.Threading.Thread]::CurrentThread.CurrentUICulture
    try
    [System.Threading.Thread]::CurrentThread.CurrentCulture = $culture
    [System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture
    Invoke-Command $script
    finally
    [System.Threading.Thread]::CurrentThread.CurrentCulture = $OldCulture
    [System.Threading.Thread]::CurrentThread.CurrentUICulture = $OldUICulture
    try {
    if (!(Get-Module SMlets)){Import-Module smlets -Force -ErrorAction Stop}
    $Server = "#######"
    $EnteredDate = (Get-Date).ToUniversalTime()
    $NewGUID = ([guid]::NewGuid()).ToString()
    $ServiceRequest = Get-SCSMObject -Class (Get-SCSMClass -Name System.WorkItem.ServiceRequest$ -ComputerName $Server -ErrorAction Stop) -Filter "DisplayName -like '*$SRIDInput*'" -ComputerName $Server -ErrorAction Stop
    $SRTitle = $ServiceRequest.Title
    $Projection = @{__CLASS = "System.WorkItem.ServiceRequest";
    __SEED = $ServiceRequest;
    ActionLog = @{__CLASS = "System.WorkItem.TroubleTicket.ActionLog";
    __OBJECT = @{Id = $NewGUID; EnteredBy = "Workflow"; EnteredDate = $EnteredDate; ActionType = "System.WorkItem.ActionLogEnum.RecordOpened"; Title = "Record Opened - Notify Users"; Description = $SRTitle;}
    Using-Culture "en-US" {
    New-SCSMObjectProjection -Type MYOB.WorkItem.TypeProjections.HasActionLog -Projection $Projection -ComputerName $Server -ErrorAction Stop
    } catch {
    ($_ | ConvertTo-XML).Save("D:\WorkflowLogs\$SRIDInput-RecordOpened-Exception.xml")
    throw $_
    We currently are experiencing the bug (#5) noted
    here which prompted me to take a look at re-running any failed workflows to continue other tasks.
    The problem is though that hitting Retry for the workflow doesn't actually submit the workflow request correctly. As far as I can tell it
    is running again (it pops in a new entry in the Workflow status list), but no changes are made to the Action Log and nothing is associated with the Work Item.
    I think what is happening is the $SRIDInput variable is not populated on the Retry or perhaps has odd data, which would let the script run but not actually do anything (the filter would return no results), I'm going to add a step into the
    script to check if $SRIDInput is empty and fail if that's the case, I'll also write the variable to a log file before anything else happens, that should tell me pretty quick.
    I wanted to know if anyone else has had trouble using Retry on custom PS workflows? Any tips? Anything obvious I am missing?
    Update: After writing this I'm not sure it would actually fail silently with no valid input as theoretically the New-SCSMObjectProjection cmdlet wouldn't have anything to apply to, I'll update the script anyway and see what happens.

    What does the error details show? Retrying a workflow that fails rarely works the second time around.
    http://codebeaver.blogspot.dk/

  • How can I get my Canon i860 to print scale correctly?

    The preview looks ok but if I print a page at 100% not all the info gets printed.
    iMac G5   Mac OS X (10.4.5)  

    Your question is somewhat vague, but if you are not printing the edges of documents, then you probably are using the default "Any Printer" in Page Setup..., rather than Canon i860. The Any Printer option probably has smaller margins than your printer. Once you have made the change, you will probably want to save it as default in the Page Setup... dialog, which you can do in the pop-up menu for Page Attributes.

  • How can I get surround sound to export through the correct speakers?

    Hello there!
    I am experienced with Soundtrack Pro and can successfully export 5.1 surround.
    I'm moving over to Logic Pro to try out 7.1 surround, but I can't even export 5.1 surround successfully since dialogue for example comes out of all speakers, yet I've panned it to the front centre speaker. Please note I do not have surround speakers set up with my computer as whenever I do connect to my amplifier it just does everything through all speakers (whether using Soundtrack Pro or Logic Pro). I am using the visual surround panner as my guide. Either way the surround export in Logic Pro is not what I'm doing within the pogram.
    I believe I've got everything set up properly:
    In Preferences-Audio-Devices-Core Audio I have device Sunflower (16ch)
    In Preferences-Audio-Output- I have 5.1 (ITU 775) or 7.1 (3/4.1)
    All tracks are set with the surround panner and I can use just like in Soundtrack Pro.
    I can bounce the individual stems properly.
    It's just not in proper surround sound.
    Where am I going wrong?
    Thanks in advance.

    EMB -
    What is the function of Sunflower in your work flow? Usually its used to route audio between programs. In the case of Logic, you simply need to route to the outputs for things to work right.
    I guess we should start with your interface - do you have 6 actual separate outputs that you can use to monitor your surround sound?
    (NOTE: I no longer do surround, but used to). In my case, I used a RME Fireface 800 which had a bunch of analog outs. I used outputs 1&2 as L&R, 3&4 as Center/Sub, and 5&6 as Rs/Ls. Each of these outputs was connected to a monitor so that I could mix in surround.
    When you say you are bouncing 5.1 successfully, do you mean it is creating 6 separate files?
    BTW - what mechanism are you using to playback your surround files? I used to use a PC program to burn DVDA's, which I then played back on a DVDA-capable disk player.
    If you are looking to encode the files so that they will playback on a traditional surround sound system, you would need to put them through a Dolby Digital encoder. If you have had Logic for a few years, you MAY have Compressor which can do this. Otherwise, Dolby Digital encoder software can be somewhat expensive.

  • How can I get iCloud mail on my Kindle Fire?

    I followed the destructions, er I mean instructions on the Help page for SMTP setup, tried a couple different variations of authentication, but ultimately, nothing works.

    The correct settings are listed here:
    http://support.apple.com/kb/HT4864
    (note that SMTP is the outgoing server)
    It's necessary for the email app in question to be able to handle IMAP and SSL, and I don't know whether the Kindle does this.

  • How do I get the status bar to appear in FF4.1?

    I upgraded to FF4.1 and discovered the status bar had disappeared and a few add-ons no longer worked :/
    After discovering this I re-installed FF3.
    How can I get the status bar back?
    TYIA
    Max

    See step #10 installing the Status-4-Evar extension in the following ...
    You can make Firefox 4.0.1 look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]

  • I changed the password to one of my gmail accounts. My MacBook Air accepts the new password and shows me email, my iPhone 5s tells me it's not a valid password. In settings, I change the password and pw is accepted. How can I get 5s to accept new pw?

    I changed the password to one of my gmail accounts. My MacBook Air accepts the new password and shows me email, my iPhone 5s tells me it's not a valid password and does not show me email. In settings, I change the password and pw is accepted. How can I get 5s to accept new pw?

    CORRECTION! GMAIL accepts new pw and shows me email. Mail on MacBook Air and iPhone 5s do not accept new gmail pw. What can I do to get my apple products to accept my new gmail pw?

  • How can i get instructions information from metadata...?

    Hi Everyone!,
    How can i get instructions information from metadata.
    Anyone Correct this script.
    Code :
    var xmpString = app.activeDocument.xmpMetadata.rawData;
        if( xmpString !=null ){
        var inst = xmpString.match(/<photoshop:Instructions>(\s)<\/photoshop\:Instructions>/);
        alert(inst);
        else
            alert("There is no Metadata.....!!!")
    Thanks in Advance.
    -yajiv

    Yes you can extract any metadata without opening a file.
    There is a script that will let you select any of the fields and put the output to a csv file, this is known as the barredrock script and can be downloaded..
    http://www.ps-scripts.com/bb/viewtopic.php?f=19&t=2365&sid=fa9cc3fb726a7a13ecaf0c85a2db05a b&start=15
    Another smaller example is here...
    http://www.scriptsrus.talktalk.net/Extract%20Metadata.htm

  • I inadvertedly changed a setting where the top of my screen no longer shows the apple logo in the top left or the clock and wifi status and strength on the top of the screen, how can I get it to show both of these things again like it used to?

    I inadvertedly must have changed a setting where the apple logo and files and things that used to be in the top left corner of the screen are no longer there as the clock and wifi status and other installed settings used to show up in the top right hand corner of my screen.  When I move my mouse to the very top of the screen they drop down but when I move my arrow away from the very top of the screen they both disappear again.  So I was wondering how can I get it to revert back to the way it used to be?  I hope this isnt confusing.

    I tried the zoom thing but it still didnt resolve my issue   Im gonna try to clarify my issue a little bit more, before the change, my screen when I would surf the web would have the apple logo and safari and file and edit and view buttons at the top left hand of the screen and the upper right hand screen would have the time and the wifi strength and my name and the spotlight box and a volume control but now they dont show while Im browsing the web unless I take my arrow and move it to the very top of the screen then those boxes will drop down like it used to be but when I take my arrow and move it from the top of the screen it disappears again and ll I get is a back and forward arrow and the url input bar.  Anyone else have any ideas of what I did to mess this up?

  • I have MAC OS X 10.6.8 (up-to-date). How can I get screen mirroring to my Apple TV to work?  The icon does not appear at top status bar..

    I have MAC OS X 10.6.8 (up-to-date). How can I get screen mirroring to my Apple TV to work?  The icon does not appear at top status bar..

    Welcome to the Apple Support Communities
    See > http://support.apple.com/kb/HT5404 AirPlay Mirroring is compatible with Mid 2011 and newer MacBooks Air, and OS X Mountain Lion.
    As you have Mac OS X Snow Leopard, you haven't got a compatible MacBook Air, so you can't use AirPlay Mirroring. However, you can use a third-party app as AirParrot to mirror the MacBook onto your Apple TV > http://www.airparrot.com

  • How can i get "nearby(city name)" if update my status on Facebook?

    How can i get "nearby(city name)" if update my status on Facebook?

    On Sun, 3 Feb 2008 22:55:19 +0000 (UTC), "kai1111"
    <[email protected]> wrote:
    >I've recently finished my webpage
    (kensingtonconcertseries.com),.....then my
    >client wanted to change the name of one of his pages from
    'Marold Duo' to
    >'Rodewald-Morebello Duo.' All of my links to that page
    are to the original
    >page(MaroldDuo.html). Arrrhhhhh!!! Is there anyway I can
    change the name of
    >the page and have all the links within the website update
    automatically?
    If you change a file name within Dw's File manager - it will
    offer to
    update all pages linked to it, accept that invitation
    ~Malcolm N....
    ~

  • TS3361 Hello.. I have a MACBook that is 3 years old..recently the WiFi status is stuck in the off position..how can I get it to turn on.I tried turning it on but its not budging.

    Hello.. I have a MACBook that is 3 years old..recently the WiFi status is stuck in the off position..how can I get it to turn on.I tried turning it on but its not working.

    There are some instructions here.
    wireless issues with Mavericks in particular.
    This might fix some issues with the Airport Extreme or TC if people upgrade installed.
    https://discussions.apple.com/thread/5219345?tstart=30

Maybe you are looking for

  • How to define the position of a JLabel in a JPanel?

    Could anybody help me for my problem ? - I added two JLabel into a JPanle using the folowwing code, but the two labels are displayed over each other. JLabel.setBounds() doesn't help. questionL1 = new JLabel("question1"); questionL1.setBounds(50, 200,

  • How to know licensed machines?

    I own one Photoshop CS4 and two Photoshop CS6's on several machines of my family. I am aware that each packege can be used for two machines. Now, is there a way to know which machine has which pakage's license?  Am realy confused. And, some machines

  • Data source active/inactive button grayed out in LBWE

    Hello, When I was activating the Logistics datasource in LBWE, my data source status became red and the Active/Inactive button grayed out? how can I make this data source active again? Thanks, KK

  • Java.io.UnsupportedEncodingException: KOI8-U

    I'm getting a host of exceptions from my bounce mail processor. Does anyone have any link or book recommendations where I can find out more about this? Or suggestions? 14:58:01,130 ERROR [BouncedMailJob] Unknown encoding type: null java.io.Unsupporte

  • Cannot preview PDF

    I have Acrobat 7.0 Professional along with the LiveCycle Designer. When I want to preview my form the "PDF preview" under view and the layout editor is greyed out. How can I get it to function.