SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 grant on view but hide actual table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

79 Posts

Posted - 03/12/2013 :  11:17:11  Show Profile  Reply with Quote
Posting this question bit differently.

I have a view which is selecting rows from a table in a different database on same server. I'd like to grant select access to the view, but not direct access to the base table. The view has a where clause restricting the number of rows.

Can I grant select to the view and not the base table??

James K
Flowing Fount of Yak Knowledge

3849 Posts

Posted - 03/12/2013 :  12:26:45  Show Profile  Reply with Quote
Is this the same as http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=183685 ?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000