Solved

Query the name of user that created a trigger

Posted on 2007-03-19
1
206 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
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IIS Server infected with Ransomware - Postmortem investigation 12 130
VB6 ListBox Question 4 30
MSSQL: Replace text (typo) 7 27
recover sqlserver db 8 45
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

930 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now