How do I get the time when a mysql trigger was created or updated?
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.
How do I get the time when a mysql trigger was created or updated?
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?
How can I get the time at which a particular window is open?
How do I get the time of day?
How do I get the time of my audio recorded on iphone?
How do I get the time zone of a location in the iOS application?
How can I get the time zone of the local server?
How do I get the time of a file in a directory using Perl?
How can I get the date when a video was uploaded via the Youtube API?
How can I get the time in this format in Android?
How do I get lost messages when my MQ server was down?
How do I get the time difference when values are stored in strings?
How can you get the time to modify a file in a cross-over?
How do I get the time difference between dates within 24 hours with moment.js?
How do you get the time zone (offset) for a location on a given date?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK