Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Issue using "Create View" Permissions

$
0
0

A dev needs to be create views in a sql 2008 database. (They already belong to db_reader, db_writer DB roles for that DB). I ran this:

use <myDB>

GRANT CREATE VIEW to <myUser>

But when he tried to create a view:

CREATE VIEW [dbo].[myView](...)

he got this error

"

The specified schema name "dbo" either does not exist or you do not have permission to use it.

"

The schema exists but it seems the user does not have permission to create a view in this database. Any thoughts appreciated!

TIA,

edm2


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>