Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Grant a user read access to specific schema and only view specific database

$
0
0

Hi

Can someone help me with the scripts to assign the following:

User1 should only see database called "DM" when logging into the SQL Server.

Within DM, the user should only be able to see anything under the Schema called[Finance]

Now as there might be both Tables and Views under that Schema and some of these Views are selecting from [dbo] this should also be possible - called something like "Select with Grant" in Teradata.

The user should only be able to Read data

Thanks


Viewing all articles
Browse latest Browse all 4729

Trending Articles



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