Can't see the triggers that I created in SQL Server Management Studio 2008

前端 未结 4 1258
没有蜡笔的小新
没有蜡笔的小新 2021-01-01 08:08

I created a simple trigger on Albums table. But that trigger is not visible in object explorer in programmability in triggers folder. I refreshed that folder as well as rest

相关标签:
4条回答
  • 2021-01-01 08:44

    Collapse the tab of the Database and then refresh(F5) and expand TableName > Triggers> and here are your triggers(That need to be executed first before getting automatically saved.).

    0 讨论(0)
  • 2021-01-01 08:59

    If you still can't find it, it is likely because you specified

    CREATE TRIGGER X
    ON SERVER ALL
    

    Specifying that it is deployed at the server level.

    Expand server objects > Triggers

    0 讨论(0)
  • 2021-01-01 09:04

    The triggers in Programmability is for database triggers (DDL Triggers). You can view the table triggers (DML Triggers) if you expand the table. For example, you are looking for triggers for table "students" Follow: expand "Tables"=> Expand "students"=> Here you will find DML triggers in Triggers Node.

    0 讨论(0)
  • 2021-01-01 09:07

    Here is where the Triggers for a specific table is located:

    enter image description here

    0 讨论(0)
提交回复
热议问题