Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Creating Triggers

forums forums SQLyog SQLyog: Bugs / Feature Requests Creating Triggers

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #12045
      SJet
      Member

      I believe it is simple question … when you know the answer.

      I want to create trigger.

      I Choose “Add trigger”. I get a template. I work it out.

      And now I want to save it.

      But HOW???

      =======================================

      Got it.

      Had to execute it as query….

    • #31125
      peterlaursen
      Participant

      You have built a CREATE TRIGGER statement.  So to create the trigger you will need to execute the CREATE TRIGGER statement and possible other helper statements' on the same tab – for instance by clicking the '>>' icon.  

      Building a string (and s SQL statement is just a string) client-side does not change anything server-side.  Only when the client sends the statement the server will execute it. Also if you write a SELECT statement it will need to be executed (typing in the client does nothing – except building a string).  It is exactly the same.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.