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

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Account DataReader also on stored procedures
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ciupaz
Posting Yak Master

Italy
232 Posts

Posted - 04/08/2014 :  04:45:33  Show Profile  Reply with Quote
Hello all,
I need to create an account on SQL Server 2012 that is not dbowner but can see all the tables and also all the stored procedure without any possibilty to modify data in tables, and modify stored (the user can see the code of the stored, but can not execute or modify them).
Is it possible to have this?

Thanks a lot.

Luis

Bustaz Kool
Flowing Fount of Yak Knowledge

USA
1642 Posts

Posted - 04/30/2014 :  19:15:16  Show Profile  Reply with Quote
GRANT VIEW DEFINITION TO [MyUser];


===============================================================================
“Everyone wants a better life: very few of us want to be better people.”
-Alain de Botton
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