Viewing 15 posts - 391 through 405 (of 1,219 total)
I'm trying to understand the actual use case. That is, why do you have this permission setup in the first place? The user can create procedures in the schema and...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
April 2, 2015 at 11:31 am
As John says, stay away from the UI. It's more confusing than helpful.
Create the role with CREATE ROLE (not sp_addrole, that's an old and mouldy command). You don't want a...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 25, 2015 at 9:27 am
I would agree with Roger. The developers need a sandbox environment where they can do whatever they need. Particularly, they need to be able to set up the jobs they...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 16, 2015 at 4:23 pm
Well, by the default users does not have access to jobs at all...
If you want to give users permission to start a certain job, look this article on my web...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
February 25, 2015 at 1:04 pm
If you opt to insert only the names into the table, I suggest that you save quotename for later.
You can execute the table in this way:
SELECT @sql =
...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
February 11, 2015 at 3:11 pm
Run this query, review the result set and execute it:
SELECT 'REVOKE VIEW ANY DEFINITION FROM ' + quotename(name)
FROM sys.server_permissions sp
JOIN sys.server_principals p ON sp.grantee_principal_id = p.principal_id
WHERE...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
February 11, 2015 at 12:51 pm
When you change the service account in the SQL Server Configuration Manager, it will assign the required windows permissions to the account.
However, there are two permissions that are not granted,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 26, 2015 at 12:10 pm
As I understand it, membership in sysadmin means that all permissions checks are waived.
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
January 12, 2015 at 3:17 pm
Not sure what question does in the Security forum, since neither locks nor latches has anything to do with security.
Latches are short-term locks that SQL Server takes for physical operations...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 23, 2014 at 1:21 pm
What is the actual error message? And where do you get it? The message you quote is far from the regular error message:
The EXECUTE permission was denied on the object...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 23, 2014 at 8:10 am
To enable SQL Server authentication, if that is your question, right-click the server-node in Object Explorer, select Properties, go to the Securities page. You need to restart the server for...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 4, 2014 at 1:50 pm
I never use Persist Security Info, and I will have to admit that I really know the effect of it.
Wether to use Integrated Security=SSPI, or Username + Password depends on...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 4, 2014 at 1:48 pm
Not sure if I understand the question, of if it was even meant to be a question.
But a login maps do dbo in a database if:
1) The login owns the...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 1, 2014 at 1:22 pm
DDL trigger on server level? Or for that matter a DDL trigger inherited from model?
The DENY does not come out of nowhere (but they take precedence over any GRANT, and...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 1, 2014 at 7:59 am
Now you only need to check in sys.database_principals who principal_id 6 is. Presumably it is a Windows group.
This this appears to occud in many databases, also chcek model, since...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 1, 2014 at 7:06 am
Viewing 15 posts - 391 through 405 (of 1,219 total)