﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 7,2000 / Security  / DB_OWNER Privilege but Unable to create views / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 17:25:28 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>[quote][b]Welsh Corgi (12/14/2012)[/b][hr]This is not a bug.The User has been denied the CREATE VIEW Permission.Try revoking the deny permission.REVOKE CREATE VIEW TO [UserName][/quote]I have issued the followingUSE [dbname]GOREVOKE CREATE VIEW FROM &amp;lt;username&amp;gt;It completed successfully; but the user has been out of office - so I cannot test it yet. It's his domain account and we're not allowed to have his password. Since it's 2000, I cannot use EXECUTE AS, correct?</description><pubDate>Tue, 18 Dec 2012 13:45:19 GMT</pubDate><dc:creator>MSSQL_NOOB</dc:creator></item><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>[quote][b]MSSQL_NOOB (12/14/2012)[/b][hr][quote][b]Welsh Corgi (12/13/2012)[/b][hr]What is the specific Error Message?[/quote]CREATE VIEWS permission denied in database 'DBNAME'.[u]Edit[/u]:I actually found http://social.msdn.microsoft.com/forums/en-US/sqlsecurity/thread/bfd630bc-e405-4f9d-b63f-f673b3f4ccf5/ that has the same issue. They are saying it was a bug in MS.[/quote]This is not a bug.The User has been denied the CREATE VIEW Permission.Try revoking the deny permission.REVOKE CREATE VIEW TO [UserName]</description><pubDate>Fri, 14 Dec 2012 08:59:49 GMT</pubDate><dc:creator>Welsh Corgi</dc:creator></item><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>[quote][b]Welsh Corgi (12/13/2012)[/b][hr]What is the specific Error Message?[/quote]CREATE VIEWS permission denied in database 'DBNAME'.[u]Edit[/u]:I actually found http://social.msdn.microsoft.com/forums/en-US/sqlsecurity/thread/bfd630bc-e405-4f9d-b63f-f673b3f4ccf5/ that has the same issue. They are saying it was a bug in MS.</description><pubDate>Fri, 14 Dec 2012 08:40:05 GMT</pubDate><dc:creator>MSSQL_NOOB</dc:creator></item><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>I clicked on the database name, Security tree, Users, right click his Username, Properties, Securables on SSMS2008. There is nothing on the Permissions: Explicit. When I run [quote]USE [dbname]GOEXEC sp_helpprotect NULL, 'john'[/quote]I get [quote]Msg 15330, Level 11, State 1, Procedure sp_helprotect, Line 346There are no matching rows on which to report.[/quote]</description><pubDate>Fri, 14 Dec 2012 08:35:28 GMT</pubDate><dc:creator>MSSQL_NOOB</dc:creator></item><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>[quote][b]MSSQL_NOOB (12/13/2012)[/b][hr]MSSQL 2000A username has a DB_OWNER privilege. But when he tries to create views OR create dts package; it gives him a permissions error.[/quote]What is the specific Error Message?</description><pubDate>Thu, 13 Dec 2012 13:46:31 GMT</pubDate><dc:creator>Welsh Corgi</dc:creator></item><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>[quote][b]MSSQL_NOOB (12/13/2012)[/b][hr]There is no explicit permissions granted / deny on that username.[/quote]How did you verify that there is not an explicit deny for that User?[code="sql"]EXEC sp_helprotect NULL, 'UserName'[/code]Is that User a member of a role that has a DENY?Adding the User to the db_ddladmin Fixed Database is not going to help because the db_Owner role includes the permissions of db_ddlAdmin.I would double check because the error that the user is getting would suggest that there is a DENY out there.Good luck.</description><pubDate>Thu, 13 Dec 2012 13:32:01 GMT</pubDate><dc:creator>Welsh Corgi</dc:creator></item><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>There is no explicit permissions granted / deny on that username.</description><pubDate>Thu, 13 Dec 2012 13:00:37 GMT</pubDate><dc:creator>MSSQL_NOOB</dc:creator></item><item><title>RE: DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>Create DTS packages is in the msdb database. You didn't indicate what database you're trying to give permissions.If I remember right for SQL Server 2000, even if you're a DB_Owner member, an explicit DENY such as DENY CREATE VIEW would stop the user from doing so. Check to see if that's the case in the database you're working in.</description><pubDate>Thu, 13 Dec 2012 12:32:40 GMT</pubDate><dc:creator>K. Brian Kelley</dc:creator></item><item><title>DB_OWNER Privilege but Unable to create views</title><link>http://www.sqlservercentral.com/Forums/Topic1396301-6-1.aspx</link><description>MSSQL 2000A username has a DB_OWNER privilege. But when he tries to create views OR create dts package; it gives him a permissions error. Should I grant him the db_ddladmin instead? [u]Edit[/u]Look at http://technet.microsoft.com/en-us/library/cc966453.aspxSeems like [i]db_ddladmin [/i]is for [i]Runs any Data Definition Language (DDL) command in a database.[/i]Thanks.</description><pubDate>Thu, 13 Dec 2012 10:46:32 GMT</pubDate><dc:creator>MSSQL_NOOB</dc:creator></item></channel></rss>