Solved

capture failed CREATE attempts

Posted on 2011-03-08
2
268 Views
Last Modified: 2012-06-22
if there is an attempt to create an object but fails, - how can we capture who/when/what was trying to create with insufficient permissions?

thanks
0
Comment
Question by:anushahanna
2 Comments
 
LVL 40

Accepted Solution

by:
lcohan earned 500 total points
ID: 35072924
You can capture that in profiler as per attached screenshot. Because this IS an error it won't be visible in a DDL trigger action and not in the SQL Log as well.
Profiler.png
0
 
LVL 6

Author Comment

by:anushahanna
ID: 35073594
thanks lcohan.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
I have a large data set and a SSIS package. How can I load this file in multi threading?
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 videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

821 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