"jozzler" <jozzler@hotmail.com.(donotspam)> wrote in message
news:2B9B9BF0-1E5B-43A5-9AE0-34B605080938@microsoft.com...
> How do I make these rows disappear?
> // Jozzler
>
> "avnrao" wrote:
>
> > Select * from sysprocesses where dbid = db_id('master')
> > make sure that this doesnt return any rows.
> > Av.
> >
http://dotnetjunkies.com/WebLog/avnrao > >
http://www28.brinkster.com/avdotnet > >
> > "jozzler" <jozzler@hotmail.com.(donotspam)> wrote in message
> > news:24615DE3-361B-4602-AEE4-D6CE1317DFE9@microsoft.com...
> > > Hi
> > > In a stored procedure I'm going to detach a db. Before doing that I
will
> > > make sure the operation will be successful. How can I make sure the
> > database
> > > is not in use?
> >
> >
> >