Solved

Query the name of user that created a trigger

Posted on 2007-03-19
1
211 Views
Last Modified: 2011-09-20
How can I query the name of the user that created a trigger?
0
Comment
Question by:daniel_balla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
rboyd56 earned 500 total points
ID: 18749603
All you can do is query the owner of the trigger.

You can use sp_helptrigger to find the owner of the trigger.

In many cases the owner of the trigger is the same as the one who created it.
But this is not always the case. If a member of the db_owner role creates a trigger it could be owned by dbo but not actually created by the dbo of the database.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Remove () 10 41
Search Text in Views 2 28
Begin Transaction 12 26
SQL query joining 6 tables in asp.net 4 31
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question