Trouble creating triggers in SQL Server 2005

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • satchi
    New Member
    • Oct 2006
    • 5

    Trouble creating triggers in SQL Server 2005

    Ok this should be a simple question but it's seemingly difficult (or something's wrong w/ my SQL Server Managmenet Sudio). I have created new triggers in SQL Server 2000 by clicking on Managing Triggers and saving them.

    I have found the node for Triggers in SQL Server 2005's Management Studio and tried to create a 'New Trigger...' but when I save, it saves it to an .sql file but do not attach it to the table.

    What am I doing wrong here? I can't seem to attach it. And where is this Assisted Editor ...i can't seem to find it anywhere.

    Thanks in advance.
  • satchi
    New Member
    • Oct 2006
    • 5

    #2
    Ok this is just stupid of me. Aparently I was figuring out how to find the 'attach to table' button and didn't 'refresh'. It seems I need to Execute the create trigger code as well.

    Comment

    • NJ5
      New Member
      • Dec 2007
      • 1

      #3
      Originally posted by satchi
      Ok this is just stupid of me. Aparently I was figuring out how to find the 'attach to table' button and didn't 'refresh'. It seems I need to Execute the create trigger code as well.

      I have the same problem, why I can't find "attach to table " button
      I spend several hours, still can't find. can someone can help me how to save trigger into table?

      Comment

      • Advanced Sql Tools
        New Member
        • Jan 2008
        • 1

        #4
        Originally posted by NJ5
        I have the same problem, why I can't find "attach to table " button
        I spend several hours, still can't find. can someone can help me how to save trigger into table?
        Hi - I have written an add-in for Sql Server Management Studio to create and edit triggers - you can get a trial from www.advancedsql tools.co.uk/Download.aspx - email me if you would want to use it and i'll arrange for a license for you.


        Ed

        ed @ Advanced Sql Tools dot Co dot Uk

        Comment

        Working...