x
login about faq Site discussion (meta-askssc)

How to know what are the tables have triggers from database?

How to know what are the tables have triggers from database?

more ▼

asked Dec 04 '11 at 06:23 AM in Default

Naren gravatar image

Naren
27 15 18 19

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

You'll need to look in either sys.objects where type = 'TR' and get the parent_object_id

or sys.triggers and get the parent_id

more ▼

answered Dec 04 '11 at 10:39 AM

Kev Riley gravatar image

Kev Riley ♦♦
46.1k 38 43 69

(comments are locked)
10|1200 characters needed characters left

you can find the trigger details in sys.triggers . to determining dependencies for a specific trigger check sys.sql_expression_dependencies system catalog

more ▼

answered Dec 04 '11 at 10:40 AM

salum gravatar image

salum
213 1

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1834
x98
x66

asked: Dec 04 '11 at 06:23 AM

Seen: 471 times

Last Updated: Dec 04 '11 at 11:53 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.