JimL (jmlawton@gmail.com) writes:
Quote:
We have recently come up with a problem where SQLServer 2005 differs
from 2000.
>
We have an application role, which needs to run DDL to alter tables
etc. The documentation for 2005 states quite clearly that application
roles cannot be made members of built in roles like db_owner or
db_ddladmin - which proves to be the case, but this was possible in
2000.
>
How are we to give application roles these rights in 2005 (and, for
all I know 2008)?
Not sure that I understand. This worked fine for me on SQL 2005:
create application role approlle with password = 'rolle'
exec sp_addrolemember db_owner, approlle
--
Erland Sommarskog, SQL Server MVP,
esquel@sommarskog.se
Links for SQL Server Books Online:
SQL 2008:
http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005:
http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000:
http://www.microsoft.com/sql/prodinf...ons/books.mspx