Thank you all for your responses! Sorry I haven't checked in on this for a
while. I'm going try your suggestions and I'll get back with you.
"Tom Moreau" wrote:
> Duh! I really need a coffee.
>
> --
> Tom
>
> ----------------------------------------------------
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
> SQL Server MVP
> Columnist, SQL Server Professional
> Toronto, ON Canada
>
www.pinpub.com > ..
> "Erland Sommarskog" <esquel@sommarskog.se> wrote in message
> news:Xns971BC09B6D0Yazorman@127.0.0.1...
> Justin (Justin@discussions.microsoft.com) writes:
> > I am new at programming using a SQL Server back-end and it hasn't taken me
> > long to run into some trouble...any help would be appreciated.
> >
> > When tables are imported by users, the table names are
> > [username].[tablename] (for example, Jennifer.tblCustomers)...when I try
> > to reference the table using the [tablename], it doesn't work. But,
> > when I use the [username].[tablename], it works. Is there a way to make
> > all tables that are imported dbo.[tablename]? This scenario seems to
> > work best b/c it would make the 'prefix' standard for all tables
> > throughout the database.
>
> Tom suggested using sp_rename, but that may only work if you are in
> Canada. :-)
>
> In the rest of the world sp_changeobjectowner may be a better bet.
>
> Of course, changing the import process may be an option, but without
> knowing anything about your import process, it's difficult to say
> whether this can be achieved or not. If the import process creates
> tables, this would require users create tables owned by dbo, which
> has some security implications.
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
>
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx > Books Online for SQL Server 2000 at
>
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx >