You can use a trigger to disable another trigger after 30 events

Dear All;

Is this possible... you can implement a new trigger to disable another trigger after 30events. If so, how

Hello

user13328581 wrote:
Dear All;

Is this possible... you can implement a new trigger to disable another trigger after 30events. If so, how

It depends on what you mean by "disable".

Trigger may start by querying a table that saves the State of relaxation. This could possibly be a table with one column and one row (at most), or it could be a larger table.
If the trigger is a line with a certain value, it can end immediately. In other words, might be the trigger

...
BEGIN
    SELECT  COUNT (*)
    INTO    disable_cnt
    FROM    trigger_state
    WHERE   txt     = 'TRIGGER A DISABLED';

    IF  disable_cnt = 0
    THEN
        ...     -- The real work of the trigger goes here
    END IF;
END     trigger_a;

Trigger B could count to 30 and then to insert a row in the trigger_state table.

Trigger is "disabled" in the sense that it does not really something. The trigger still exists and it is still valid and it is always drawn, and it works again (at least SELECT it... IN the part above).

Tags: Database

Similar Questions

  • If you install and activate your Lightroom on a single computer, and dies from this computer, is it possible that you can use the same serial number on another computer?

    If you install and activate your Lightroom on a single computer, and dies from this computer, is it possible that you can use the same serial number on another computer?

    With most of their applications, you can disable it on a single computer, and then turn on another.  I'm not 100% sure of Lightroom, however.

  • I have subscribed in CC photoshop on my desktop, you can use it from another machine (laptop)?

    I have subscribed in CC photoshop on my desktop, you can use it from another machine (laptop)?

    Yes, you can activate subscription creative cloud on both machines however, you cannot use both machines at the same time, check point 1.1: http://wwwimages.adobe.com/content/dam/Adobe/en/legal/servicetou/Software_Terms-en_US-2015 0407_2200.pdf .

  • You can use Skype credit to make calls without wifi?

    Hello so my question is this.

    I'm really far from were I live and I don't want to make a cell phone plan, I don't think I'll have wifi, a friend told me I should try using Skype and Skype credit purchase, so my question is.

    Can make you calls using Skype credit without access to wifi?

    You can use Skype wifi using Skype credit? (read something some time ago, but do not pay attention)

    If I have Skype credit can I call my boyfriend to the Canada when I am in another country? without wifi or a cell plan?

    All Skype calls, paid or free, require connection to the Internet. If you do not have access to WiFi or cellular data, you will not be able to make Skype calls.

  • my USB won't open it says "you must format the disk hard until you can use it"

    Hello
    I have my brand DANE ELEC 16 GB USB key was the work properly. I took it off wile, he played the song, and since then, I have try to open a dialog box open and said you need to format the hard disk: X before you can use I can't format it because I'll lose my data fields, important documents of songs picters.
    If anyone can help me with it please
    Thank you in advance.

    Because you don't properly stop the disc before removing it, you burned her FAT (File Allocation Table that each player has). Your files are still there, but they can only be read by the 'normal' software... think of a hard drive as a subdivision... formatting a disk (any drive) is like the ranking of all sectors which will be the roads and determine where the accommodation structures (folders) can be placed. When a fat gets grilled, all the rankings and roads disappeared suddenly... but the housing is still there. Recovery software puts the ranking and roads back.

    Is there a software that I used to be called "Rescue" that worked fine on the old disk to FAT32. Costs $60 but it was cheaper than $1000 than for a customer who had sprayed a server hard drive (and replaced their backup before calling me, long story, lesson learned client and I learned the value of disaster planning... but I digress), I was at another time.

    Good luck!! Let us know what you find / use / work... so that you can save we / you... because it will never happen.

    TX,
    SM

  • You must format the drive until you can use it!

    Hello.. can someone help me please...

    I have Windows vista... I have an extra external HARD drive... Every time there is an upgrade of vista I can't access my external hard drive, I click Open, he said: "you need to format the disk in E: drive before you can use it, you want to format?"

    Ok.. It's something to do with permissions I have solved this a coupke times before fixing it then setting a restore point, unfortunately my restore point will not do after an another upgrade of vista/update...

    How to reset the permissions so that I can access all my music, images, and documents stored on my external hard drive and... What can I do to stop future updates change my settings and stop my access to my external hard drive?

    Thanks in advance, ian.

    Gringy,
    Here is an article with detailed steps to take to solve the problem of permissions permanently.  http://support.Microsoft.com/kb/949608 this involves advanced enough procedures so if this isn't something you feel comfortable with that you get assistance to do this process.

    Change the settings of the REGISTRY can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the REGISTRY settings configuration can be solved. Changes to these settings are at your own risk.

    Thank you

    Gloria
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • You can use version for VM Windows OEM license

    1. can I use OEM version for virtual machine window.

    2 in case I created a new copy and removed the old how it will affect license.
    3. If I want to create a new virtual machine by throwing an old can I use same OEM license
    Thanks in advance

    Yes, you can use the OEM System Builder License in a virtual machine.

    In what concerns by deleting and recreating a VM, I don't know to be honest, given the virtual machine itself is considered to be a computer and to move the license to a new virtual machine would be considered in the eyes of the LICENSE as another machine.

    What I suggest do you after installing Windows 7 OEM in a virtual machine and activate it, you must create a snap shot of your active install. When you are ready to throw a virtual machine just back to the snapshop so it will look like new.

  • You can use the style of reference R1C1 for SpreadsheetSetCellFormula

    I'm setting up a spreadsheet where I want the sum of some columns appear at the end of the line.  The problem is that the number of columns can vary according to when the report is run.

    A function SpreadsheetSetCellFormula is written like this for summing columns B through D and placing the function in column 5 (E).

    < CFSET curRow = 2 >

    < CFSET curCol = 5 >

    < CFSET SpreadsheetSetCellFormula (sObjRollUp, "SUM(B2:D2)", curCol, curRow) >

    But what happens if there are 10 columns, or 15 columns?

    I tried and it doesn't work with the R1C1 reference style:

    < CFSET SpreadsheetSetCellFormula (sObjRollUp, "SUM (#curRow #C #curCol R - 4 #: R #curRow #C #curCol - 1 #)", news line, curCol ") >

    But that generates an Excel error.

    I know (in Excel), if I turn R1C1 reference I can reference range a sum like this: = SUM(R6C2:R6C3), but if the R1C1 reference is disabled, this feature will not work.

    If a couple of questions.

    (1) is there a CF or Excel function to get the value of the 'LETTER' of a numeric column value (remember column, AA, AB, etc.).

    OR

    (2) is it possible CF to turn R1C1 making reference to the spreadsheet object.

    I could be wrong, but I don't think that CF supports the R1C1 style.  However, you can use the underlying classes POI to convert a number of columns in a letter. Just be aware POI expects the index column to base zero, not one.

    example of generating all the letters in column

    util = createObject ("java", "org.apache.poi.ss.util.CellReference");

    for (col = 1; col<= 256;="" col++)="">

    Note: the numbers of the columns are zero-based (0)!

    colLetter = util.convertNumToColString (col - 1);

    WriteOutput ("R1C1 = [#col #] Alpha = [#colLetter #]")
    " );

    }

    Post edited by: == cfSearching == -.

  • You can use the new driver with an older version of db?

    Does anyone know if you can use the 11.2.0.2.0 new driver on an older version of the database, such as for example the 10g?

    The official JDBC faq is here (as of today, at least)
    http://www.Oracle.com/technetwork/database/Enterprise-Edition/JDBC-FAQ-090281.html#02_02

    He states:
    11.1.0 JDBC drivers can talk to RDBMS
    11.2.0
    11.1.0
    10.2.0
    10.1.0
    9.2.0
    version 9.0.1

    What JDBC drivers supported versions of Oracle database?
    11.2.0 JDBC drivers can talk to RDBMS
    11.2.0
    11.1.0
    10.2.0
    10.1.0
    9.2.0
    version 9.0.1

    So basically the latest driver can "talk" to what after 8i. In addition, g 10 drivers are not available for Java 6 (which has been around for a while now).

    ________________
    Published by: Bill S. on November 18, 2010

    (by Oracle support) Unless you have a reason not to, the top/most late driver version is preferable because it will last bug fixes.

    Here's another good document. If you have access to the Oracle support, search for document ID 401934.1, "Beginning with Oracle JDBC Drivers"

  • You can use a variable as a variable name as you can do it in Perl?

    So say there are 10 clips on the stage, each named mc1 mc2 mc3 etc. I have a function that sends the name of a movieclip in a public class, and I need to be able to change the image of this movieclip according to the string that is sent. Say so my class is the function declaration:

    moveFrame (theMovieClip);

    where theMovieClip is the object returned by another function.

    Is it possible to use this variable somehow?

    The concept of what I'm trying to do:

    function moveFrame (s) {}

    s.gotoAndStop ("the framework law");

    }

    Who is? Is this possible or should I find another solution?

    If the argument of the function (s) pointing to the object, then your code as shown should work.

    s.gotoAndStop ("the framework law");

    If the argument points to the name property of the object, then you will need to use the getChildByName() method to target the instance.

    this.getChildByName (s) .gotoAndStop ("the framework law");

    If the argument is a string version of the name of the instanceobject, you can use the support rating to target the object...

    This [s] .gotoAndStop ("environment law");

  • You can use flattenPages();?

    You can use flattenPages(); on a form button?  Properties button > run JavaScript

    For the user, use acrobat reader to disable the form?

    What is the entire script that is needed for the page lock?

    N ° flattenPages cannot be used in Reader.

  • You can use a zip for time machine drive?

    I know he said 'external hard drive', but do not know if this means that you can use a zip for time machine drive? (including so you can back up your entire OS, but also files)

    Probably yes, but just wonder how to connect ZIP drive to your iMac.

  • You can use 3rd party to watch network shows?

    I think to make the new gen 4 tv Apple, you can use 3rd party applications to watch shows like Animal Planet network with Animal Planet app?

    Generally Yes, if the channel provided an application. If it's a cable network, you still need a cable provider to access the internet version, and you can access channels in your package.

  • You can use your Apple Watch for swimming?

    You can use your Apple Watch for swimming?

    Benson,

    Follow the advice of Carolyn Samit and al in Re: swim with the watch is it possible?

  • You can use my Mac with iOS

    You can use my Mac with iOS

    Hello ifixer2,

    Thank you for using communities of Apple Support.

    No, you need two or more Mac computers that meet the following requirements to use Back to My Mac:

    What you'll need

    To configure and use Back to My Mac, you need these things:

    • Two or more Mac computers that use the same account iCloud on OS X Lion v10.7.5 or later version.
    • A Terminal supported access AirPort (AirPort Extreme, AirPort Express or AirPort Time Capsule) or other Internet router that supports UPnP or NAT - PMP protocol, with the latest firmware available. AirPort base stations require version of firmware 7.6.1 or later for Back to My Mac.
    • Utility airPort 6.3 or later.
    • For screen sharing, a 300 Kbits/s-or-more rapid, bidirectional (high-low) Internet connection between computers. You may be able to use with slower connections to share files. If file sharing doesn't work as you think, check your settings and connections.
    • A firewall that allows remote connections. Some firewalls may prevent some back to my Mac connections. For example, when you're at home, don't maybe not able to connect you to your Mac at work. But when you're at work, you might be able to connect to your Mac at home. If you are not sure if the firewall will allow the back to my Mac connections, check with the network administrator for your organization.

    If you want to use an AirPort Extreme or airport Time Capsule to access files on a hard drive external, you need a Mac OS extended (journaled) formatted USB hard drive. When you use with Back to My Mac, your hard drive is displayed as the base under shared in the sidebar station Finder.

    Set up and use Back to My Mac

    Take care.

Maybe you are looking for