Re: Database access

From: Simon (me_at_me.me)
Date: 07/19/04


Date: Mon, 19 Jul 2004 16:03:51 -0400

Hi Kalen.... "Simon" is my pen name... you may remember me
from our discussions via email a couple weeks back revolving
around the aging out of statistics that Microsoft changed on you
after your book went to press.... You may remember me!

"Kalen Delaney" <replies@public_newsgroups.com> wrote in message
news:O$7w0rcbEHA.644@tk2msftngp13.phx.gbl...
> Hi Simon
>
> This is correct, but not the whole story.
> Triggers cannot be created on ANY system table, not just the virtual
tables.
>
> --
> HTH
> ----------------
> Kalen Delaney
> SQL Server MVP
> www.SolidQualityLearning.com
>
>
> "Simon" <me@me.me> wrote in message
> news:OtiIOXcbEHA.252@TK2MSFTNGP10.phx.gbl...
> >
> > I believe the sysprocesses table is a virtual table and triggers cannot
be
> > defined on them.
> >
> > "Hari Prasad" <hari_prasad_k@hotmail.com> wrote in message
> > news:e0SwCIbbEHA.1248@TK2MSFTNGP11.phx.gbl...
> > > Hi,
> > >
> > > SQL Server will not store this information into any tables. Only way
is
> to
> > > run the profiler or write you own triger to monitor the
> > master..sysprocesses
> > > table
> > > and log the audit information into a table. Later you could query the
> > table
> > > to get the last access date and time for the database.
> > >
> > > Thanks
> > > Hari
> > > MCDBA
> > >
> > > "Sara Beth" <Sara Beth@discussions.microsoft.com> wrote in message
> > > news:1978F2D2-6D5D-45E9-8DAC-F9C548B5E0A3@microsoft.com...
> > > > Is there any way to query SQL Server to see the last time a given
> > database
> > > was access?
> > > >
> > > > thanks guys :)
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Nadal vs. Simon statistics
    ... Looking at statistics of their match...Nadal won in every other category except he served one ace less and had worse break point conversion rate... ... Also against someone like Simon you have to go up the net more in order to finish the point. ...
    (rec.sport.tennis)
  • Re: Varifocal lenses (ot)
    ... Statistics don't lie. ... somebody claiming a number means something that it doesn't. ... Simon - UKRM~verdigris,plus,com ... Tiger - A return to good sense. ...
    (uk.rec.motorcycles)

Loading