Re: Tables with no owner
From: Big_Dumbass (big_dumbass_at_hotmail.com)
Date: 07/08/04
- Next message: Viren Parikh: "RE: Deadlock Trace - can you interpret?"
- Previous message: Dan Guzman: "Re: How to restore a backup to another machine"
- In reply to: Russell Fields: "Re: Tables with no owner"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Jul 2004 17:23:42 -0700
I will investigate the Access 2000 ADP aspect. My application is a C++ app
compiled with Borland C++ Builder. However, now that I am thinking about
it, this problem site has a third party application that accesses the
database. The third party application is written in visual basic which I
assume may have related ADP issues. The application, however, does not
modify the schema of the database. It may read, modify, or insert rows into
tables that already exist. Thanks for the responses.
"Russell Fields" <RussellFields@NoMailPlease.Com> wrote in message
news:ufwKR1FZEHA.3464@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> I have seen this (personally) only with a database being administered /
> developed using Access 2000 ADPs. I really don't know _what_ is going on.
> For me, in all cases the following happened.
>
> 1. Tables without owners, where the uid was for a row in sysusers that did
> not exist.
> 2. Therefore, it never happens for tables owned by dbo.
> 3. The uid was always (again, for me) 1 higher than the maximum uid.
> 4. I created another user using sp_grantdbaccess. This user got the next
> uid and became the owner of the tables.
> 5. At this point, I could do whatever I wanted with the table.
>
> I would be interested if your scenario matched mine. If it does, then the
> answer may be to move development to Access 2002 / 2003.
>
> Russell Fields
>
> "Big_Dumbass" <big_dumbass@hotmail.com> wrote in message
> news:2l2qs7F7pe7bU1@uni-berlin.de...
> > Hello all,
> >
> > I have seen several occurences in my databases of tables existing with
no
> > valid owner. I have become quite adept at getting rid of these as they
> > hamper application functionality. My biggest question at this point is:
> > How can I prevent this from happening?
> >
> > I run the same application at multiple sites with structurally identical
> > databases and these tables keep popping up only at one location.
Needless
> > to say, it is becoming a maintenance nightmare to keep dropping these
> tables
> > that are getting stranded.
> >
> > Thanks for your help
> >
> > --
> > almost but not quite drastically
> >
> >
>
>
- Next message: Viren Parikh: "RE: Deadlock Trace - can you interpret?"
- Previous message: Dan Guzman: "Re: How to restore a backup to another machine"
- In reply to: Russell Fields: "Re: Tables with no owner"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|