5

How do I get the time when a mysql trigger was created or updated?

 3 years ago
source link: https://www.codesd.com/item/how-do-i-get-the-time-when-a-mysql-trigger-was-created-or-updated.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How do I get the time when a mysql trigger was created or updated?

advertisements

We have a trigger in our mysql database which on update affect some data in database. But for some calculation we need to know when this trigger was first created and when it was updated last. Is it possible to get this data from information_schema or any where else?


Unfortunately the answer is no. There is a column CREATED in the schema for triggers, but it is unused (always NULL) at the present time:

The following columns currently always contain NULL: TRIGGER_CATALOG, EVENT_OBJECT_CATALOG, ACTION_CONDITION, ACTION_REFERENCE_OLD_TABLE, ACTION_REFERENCE_NEW_TABLE, and CREATED.

Related Articles

How do I get the time of the specified time zone?

I put my project in the hosting whose time zone is different from my place. In my web project I use "Timestamp" to insert the time into my database. So I need to get the time of Chicago(my time zone). I use jode time to get the time of different

How can I get the time at which a particular window is open?

I have a simple user survey form in which there is one section where the user needs to click on a link, read the page inside the link and then come back to continue the form. Currently, I have a parent HTML page from which I am providing a link to op

How do I get the time of day?

I'm working on my python script to get the 12 hours time. I want to get the 7 hour instead of 07. self.getControl(4203).setLabel(time.strftime("%I") + ':30' + time.strftime("%p")) print (time.strftime("%I")) Here is the log:

How do I get the time of my audio recorded on iphone?

I am recording audio using AVAudioRecorder,and now i want to get exact time duration of my recorded audio,how can i get that. i have tried this: AVURLAsset *asset = [[AVURLAsset alloc] initWithURL:avAudioRecorder.url options:nil]; CMTime time = asset

How do I get the time zone of a location in the iOS application?

This question already has an answer here: How to get a time zone from a location using latitude and longitude coordinates? 13 answers Get Timezone/country from iPhone 3 answers I am new to iOS development. I am trying to build an app which can primar

How can I get the time zone of the local server?

How can I get the local server's timezone without relying on php.ini or other configuration files? I am looking for an output similar to the output of date('e'). eg. "UTC", "GMT", or "Atlantic/Azores". I need to know this so

How do I get the time of a file in a directory using Perl?

Assume a file is copied or moved to a directory by some other program. I want to get the time that this file was copied/moved to this folder. That is, I want the time that the file first appears in this directory. Note that this file might exist befo

How can I get the date when a video was uploaded via the Youtube API?

I'm confused as to where I can find the date a youtube video was uploaded. I've been using the following two functions: $videoEntry->getUpdated()->getText(); $videoEntry->getVideoRecorded() The first is when the video was last updated, and I'm no

How can I get the time in this format in Android?

I am trying to get the present time in this format in an android app. time= "05:09pm 08/02/2011" Right now I am using Calendar c=Calendar.getInstance() and c.getTime() to get the time and its coming out as Tue Aug 23 02:34:25 PDT 2011. ThanksYou

How do I get lost messages when my MQ server was down?

How do you get lost messages when MQ Server was down? How do you make sure messages should not lost event though MQ is down?JMS messages can be delivered in two modes: Persistent and Non-persistent modes. In persistent mode, messages are stored to da

How do I get the time difference when values ​​are stored in strings?

I need to find to the time difference between two values, but the values are in a string format and not in a DateTime Object. I can use the TimeSpan class only if it is a DateTime Object. Moreover it is in a YYYY/MM/DD hh:mm:ss.zz format. I can extra

How can you get the time to modify a file in a cross-over?

The stable MetadataExt trait offers some basic functionality for this purpose, but it doesn't work on Windows. I also see this RFC on the topic of I/O reform but now I'm totally confused. Wasn't the reason we took so long to get a 1.0 stable because

How do I get the time difference between dates within 24 hours with moment.js?

I have an object with the field of "created' with a date in which the object was created. Now I want to keep track of "How many hours ago" the object was created with moment.js. My goal is to have the time display like the example below. Cr

How do you get the time zone (offset) for a location on a given date?

I am storing messages in UTC. Therefore, if someone looks back to a previous message, I need to be able to convert the timestamp to what the time was relative to what the timezone was then. How do I get what the timezone was then? For example, on Sep

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK