Viewing 15 posts - 6,151 through 6,165 (of 9,253 total)
David Moutray (1/5/2012)
Hmmm. It is quite low when I run this process in the dev environment.
Disk and file layouts are bound to be different between dev and live aren't...
January 5, 2012 at 1:09 pm
David Moutray (1/5/2012)
January 5, 2012 at 12:21 pm
ajsnyman (1/5/2012)
To be honest, it seems I do not understand the function of the CONTROL permission.
CONTROL is the highest available within the database. CONTROL implies all other permissions.
Granting CONTROL at...
January 5, 2012 at 11:28 am
also, what does this return
select dp.state_desc, dp.permission_name, dp.class_desc, sch.name
from sys.database_permissions dp
inner join sys.schemas sch on dp.grantor_principal_id = sch.principal_id
where dp.class = 3
January 5, 2012 at 10:39 am
ajsnyman (1/5/2012)
Tried it, then right back to updates and altering ;(
remove the denials and the re run the script below and post the exact results
select dp.name, dbp.state_desc, dbp.permission_name, dbp.class_desc
from...
January 5, 2012 at 10:26 am
please check the results of the following query
selectsch.name AS SchemaName
, dp.name AS DBUserName
from sys.schemas sch inner join sys.database_principals dp on
sch.principal_id = dp.principal_id
where dp.name = 'yourdbuser'
January 5, 2012 at 6:21 am
ajsnyman (1/5/2012)
ALTERDATABASEALTERSCHEMA
These are not object level but higher permissions and imply certain other permissions. Does the user own a schema?
January 5, 2012 at 5:52 am
Please return the results of the following queries
check explicit permissions
select dp.name, dbp.state_desc, dbp.permission_name, dbp.class_desc
from sys.database_principals dp inner join sys.database_permissions dbp
on dp.principal_id = dbp.grantee_principal_id
where dp.name = 'yoursqlacct'
Check roles assigned
select...
January 5, 2012 at 4:05 am
ajsnyman (1/5/2012)
SELECT * FROM fn_my_permissions (NULL, 'DATABASE');
I only get
entity_namesubentity_namepermission_name
databaseCONNECT
databaseSELECT
I had to explicitly deny alter and update on database permissions for...
January 5, 2012 at 2:57 am
Are you running this ad hoc or are you going to schedule it?
January 5, 2012 at 1:36 am
Jeffrey Williams 3188 (1/4/2012)
Perry Whittle (1/4/2012)
January 4, 2012 at 3:15 pm
jspatz (1/4/2012)
January 4, 2012 at 2:50 pm
if you're executing this within a sql server agent job i'd use a VB script
January 4, 2012 at 10:36 am
I use a simple VB script which works quite well at trimming backup files
January 4, 2012 at 10:32 am
doesnt seem to much wrong with the syntax, remember that as an undocumented extended proc this is liable to change with any release.
I'm using SQL Server 2008 R2 SP1...
January 4, 2012 at 10:25 am
Viewing 15 posts - 6,151 through 6,165 (of 9,253 total)