?
Solved

Find user who created table??

Posted on 2008-10-04
7
Medium Priority
?
300 Views
Last Modified: 2012-05-05
Hi,

We are using SQL Server 2005.

I urgently need to find a way to find out who created some tables in one of our databases.  Is this possible without purchasing some third party tool?

Thanks,

-ws
0
Comment
Question by:Westside2004
[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
7 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 1200 total points
ID: 22642868
No.
0
 
LVL 60

Assisted Solution

by:Kevin Cross
Kevin Cross earned 400 total points
ID: 22642893
AFAIK, no, is correct.

You could setup auditing to do this in the future.
http://www.dotnetheaven.com/UploadFile/a.ferendeles/SQLAudit02272007111637AM/SQLAudit.aspx

In theory you could try to implement this methodology which is usually used for auditing activity on existing tables to look at the sysobjects table for insertions of records with xtype = 'U'.

Regards,
Kevin
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 22642906
Now that the horse has effectively escaped the barn you can close the door by implementing approriate permissions or if you are unable to do that than implement DDL Triggers.
0
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.  

 
LVL 60

Assisted Solution

by:chapmandew
chapmandew earned 400 total points
ID: 22643270
>>Is this possible without purchasing some third party tool
Absolutely.  Does it take preparation to do so?  Yes.  It is going to be possible w/o it....likely not.  The one glimmer of hope is the fact that SQL 2005 keeps track of a default trace to review if something happens to your server.  Off of the top of my head, I do not think it captures CREATE TABLE DDL statements, but it is worth a check to see.

At the end of the day, putting a properly designed security scheme in place (as the others have suggested) is the way to solve this problem.

One other thing that is worth nothing...red-gate.com has a product out there that is supposed to be similar to the lumigent log explorer for capturing statements through log backups...and I believe they have it free.  http://www.red-gate.com/products/SQL_Log_Rescue/index.htm
0
 
LVL 1

Author Closing Comment

by:Westside2004
ID: 31503114
Thanks!
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 22646446
>>red-gate.com has a product out there that is supposed to be similar to the lumigent log explorer <<
Unfortunately it is only compatible with SQL Server 2000.  Apparently they could not negotiate the appropriate license from Microsoft for SQL Server 2005.
0
 
LVL 60

Expert Comment

by:chapmandew
ID: 22646973
Well that sucks.  I know there is a design document you can obtain from MS that gives you some sort of direction as to the internals for developing this kind of software.  But...you have to be an ISP to get it.  Not sure why the red-gate product hasn't upgraded their software for this...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

764 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