Forum Replies Created

Viewing 15 posts - 6,151 through 6,165 (of 9,244 total)

  • RE: db_datareader allow alter permissions

    ajsnyman (1/5/2012)


    ALTERDATABASE

    ALTERSCHEMA

    These are not object level but higher permissions and imply certain other permissions. Does the user own a schema?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: db_datareader allow alter permissions

    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...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: db_datareader allow alter permissions

    ajsnyman (1/5/2012)


    I did, the user had nothing else, even if I run:

    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...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: delete files from DOS

    Are you running this ad hoc or are you going to schedule it?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Best practice for SQL SERVER 2008 Installation?

    Jeffrey Williams 3188 (1/4/2012)


    Perry Whittle (1/4/2012)


    If all you're doing is joining the server to a domain then it won't make any difference whether you install SQL Server before or after....

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Help with quick disk usage report

    jspatz (1/4/2012)


    I went into this thinking this should be an easy report using DMV's being that most of the info I need is already present on the canned disk space...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: delete files from DOS

    if you're executing this within a sql server agent job i'd use a VB script

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Specified file is not a SQL Server backup file

    I use a simple VB script which works quite well at trimming backup files

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Specified file is not a SQL Server backup file

    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...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Can't create users -- permissions issue

    Ray K (1/4/2012)


    Steve Jones - SSC Editor (1/4/2012)


    When you rebuilt, and resinstalled, I assume, did you "add Current User" as an administrator? That's easy to miss.

    Yeah, that I did remember...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Specified file is not a SQL Server backup file

    sorry missed that bit, they're definitely native backups then?

    How are you executing xp_delete_file?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: SQL2005 Express with Advanced Service SP4

    tyang (12/23/2011)


    I have downloaded SQL 2005 Express Edition with Advanced Service SP4 (SQLEXPR_ADV) and tried to apply on SQL 2005 Express Edition with Advanced Service SP3, it turned out installing...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: restart sql server service

    Tara-1044200 (1/4/2012)


    Can someone help me with the sql to schdule restart of sql service and aagent service and also send mesage 15 min before to the users logged in?

    You...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: CheckDB behavior

    I've had issues in previous times backing up SharePoint databases. Qualifying the database names with QUOTENAME() has always resolved the issue

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Best practice for SQL SERVER 2008 Installation?

    ananda.murugesan (1/4/2012)


    Hi,

    Right now server is ready with operating system - windows 2008 32 bit, Disk configuration etc..

    currently server is work-group, N/W has been configured and server is not member of...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 15 posts - 6,151 through 6,165 (of 9,244 total)