Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
How to avoid the ownername when accessing tables
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Böhm  
View profile  
 More options Feb 1 2000, 3:00 am
Newsgroups: microsoft.public.sqlserver.server
From: "Thomas Böhm" <thomas.bo...@opendata.de>
Date: 2000/02/01
Subject: How to avoid the ownername when accessing tables
Hi,

we are using SQL-Server 7.0 and creating all business tables like this:

create table applicationroot.t_tablename(... )

"applicationroot" must be the owner of all business table.

Afterwards SQL Server forces us to qualify the owner whenever I want to
access the table.
select * from t_tablename
tells me that the object does not exist.

Is there some way to keep the owner and access the table without the owner.
(There is no second table with the same name)

Thanks a lot

Thomas Böhm


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Kratochvil  
View profile  
 More options Feb 1 2000, 3:00 am
Newsgroups: microsoft.public.sqlserver.server
From: "Keith Kratochvil" <Keith.Kratochvil.RemoveT...@spammenot.novusmkt.com>
Date: 2000/02/01
Subject: Re: How to avoid the ownername when accessing tables
Login as sa (dbo) and create your tables without any owner predicate.  All
your tables will be created by dbo and all your users will need to do is
select from the table (no need to include dbo in the select unless multiple
versions of the table exist with different owners).

Keith

"Thomas Böhm" <thomas.bo...@opendata.de> wrote in message

news:u6cydrMb$GA.270@cppssbbsa05...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jens K Jensen  
View profile  
 More options Feb 2 2000, 3:00 am
Newsgroups: microsoft.public.sqlserver.server
From: "Jens K Jensen" <je...@post6.tele.dk>
Date: 2000/02/02
Subject: Re: How to avoid the ownername when accessing tables
Hi,

Your approach will work, but you don't actually need to be 'sa', just a
Server Administrator. If:

- Tables are created by a 'Server Administrator'
- Table users are 'db_owner' in the database,

Then everybody will look for dbo.* objects.

regards
jensk

Keith Kratochvil <Keith.Kratochvil.RemoveT...@spammenot.novusmkt.com> wrote
in message news:ue3P7eOb$GA.58@cppssbbsa02.microsoft.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »