Re: Object Access?
From: Uri Dimant (urid_at_iscar.co.il)
Date: 11/16/04
- Next message: Anith Sen: "Re: Passing table and column names as parameters"
- Previous message: Vincel2k2: "Saving a view that uses a linked server"
- In reply to: mk: "Object Access?"
- Next in thread: mk: "Re: Object Access?"
- Reply: mk: "Re: Object Access?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 16:59:15 +0200
mk
No, SQL Server does not track this info.
Do the users still work against the database?
If they do, run Profiler to see what is going on. What objects have
invoked.
Also visit on www.dbazine.com , you will find there (under SQL Server) the
script written by Gregory Larsen(if i remember well) which may help you to
identify what objects have changed.
"mk" <mk@discussions.microsoft.com> wrote in message
news:3C0438F4-7CA1-4431-9FCA-2C653B4CE436@microsoft.com...
> Hi,
> We've recently had to take over another team's system. They've been
> disbanded, and of course we've no documentation. This system has
literally
> thousands of stored procedures and many hundreds of tables, and has been
> increasing in size (objects and data) since first developed in 2000.
> Anyway, I want to strip this down to the minimum necessary items and I'm
> wondering if it is possible to run any kind of queyr which will show me
when
> an object was last accessed. For example, is it possible to tell when a
> stored procedure was last invoked, or when a table was last accessed for
> select, insert, update, delete, etc.
> I appreciate that I can log or profile the current activity, but I was
> hoping it would be possible to see what elements in the table are
redundant.
> Some of the objects really look like 'development-mode' instances, but
then
> they are also referenced in quite a few stored procedures and do actually
> live in the production environment. Of course I suspect quite a few are
> still redundant or obsolete.
> Any help or advice would be much appreciated.
>
> Thanks,
>
> mk
- Next message: Anith Sen: "Re: Passing table and column names as parameters"
- Previous message: Vincel2k2: "Saving a view that uses a linked server"
- In reply to: mk: "Object Access?"
- Next in thread: mk: "Re: Object Access?"
- Reply: mk: "Re: Object Access?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|