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

How to give view access to a column in a table

$
0
0

I have a view with 100 columns. I want certain users to have access only to 10 columns. I was able to do this without any issues, but when they connect and expand the view they could still see all the column names.

I was wondering whether there is away to restrict access to that too. So that the user will see only the columns that they have access to.

Prsently, they see all the columns and when they do a select * , sql gives the error "Permission denied"

Could they enter select * and see only their column names too?


donsls


Viewing all articles
Browse latest Browse all 8428


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