Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Trigger on select

Trigger on select

Scheduled Pinned Locked Moved Database
databasemysqlcomquestionannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jassim Rahma
    wrote on last edited by
    #1

    Hi, Is is possible to create a trigger ON SELECT in MySQL? If not, any other way to do it? Thanks, Jassim

    Technology News @ www.JassimRahma.com

    T L 2 Replies Last reply
    0
    • J Jassim Rahma

      Hi, Is is possible to create a trigger ON SELECT in MySQL? If not, any other way to do it? Thanks, Jassim

      Technology News @ www.JassimRahma.com

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      Jassim Rahma wrote:

      Is is possible to create a trigger ON SELECT in MySQL?

      Only 3 events INSERT, UPDATE & DELETE. CREATE TRIGGER Syntax[^] & its Syntax and Examples[^]

      Jassim Rahma wrote:

      If not, any other way to do it?

      What do you want? explain clearly(ON SELECT).

      thatraja

      Code converters | Education Needed No thanks, I am all stocked up. - Luc Pattyn When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute

      1 Reply Last reply
      0
      • J Jassim Rahma

        Hi, Is is possible to create a trigger ON SELECT in MySQL? If not, any other way to do it? Thanks, Jassim

        Technology News @ www.JassimRahma.com

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Jassim Rahma wrote:

        Is is possible to create a trigger ON SELECT in MySQL?

        No. That's why you added the second question, ain't it?

        Jassim Rahma wrote:

        If not, any other way to do it?

        No. You can fetch from a SP and add that functionality yourself. Triggers aren't meant as an audit-trail, that's hardly secure.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups