Solved

sp_addalias and sp_addrolemember

Posted on 2000-05-02
3
1,016 Views
Last Modified: 2008-01-09
addalias was nice in that when objects were created, they were created under dbo.  I tried using addrolemember and added my user to db_owner, but when the objects are created, they are created under that user account.  I want the objects created under dbo.  sp_addalias is still available in 7.x, but they say it's for backward compat.  

REAL QUESTION:  In MS vision, how can I get the same exact benefit as sp_addalias?
0
Comment
Question by:ivanh
  • 2
3 Comments
 
LVL 5

Expert Comment

by:dtomyn
ID: 2770411
My understanding is that you can't.  The best you can do is change the object's owner after creation or create it as "dbo.objectname".
0
 
LVL 1

Author Comment

by:ivanh
ID: 2770744
dtomyn - That answer is acceptable to me.

Lock it and I will award
0
 
LVL 5

Accepted Solution

by:
dtomyn earned 100 total points
ID: 2771265
OK, thanks!  

Also, you will notice that Experts-Exchange now has given the ability to questionnaires to accept a comment as an answer (just for future reference).
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now