Solved

Rename DB Role?

Posted on 2004-04-21
4
771 Views
Last Modified: 2008-03-04
I need to rename a role in a database.

I could not find how using the BOL.

Is this possible?

This role has extensive premissions over hundreds of tables so if at all possible I do not want to simply create a new role with the new name and hope I click the appropriate permissions.

Thanks for the help.
0
Comment
Question by:sifuhall
4 Comments
 
LVL 5

Expert Comment

by:chaniewskim
ID: 10881728
Which RDBMS?
0
 
LVL 1

Author Comment

by:sifuhall
ID: 10983176
SQL Server 2000.

I have solved this problem by scripting the existing role, changing the name, executing the script and dropping the previous role.
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 10983303
User resolved; closed, 250 points refunded.

Netminder
Site Admin
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This article describes some very basic things about SQL Server filegroups.
Creating and Managing Databases with phpMyAdmin in cPanel.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

860 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