Forum Replies Created

Viewing 15 posts - 7,426 through 7,440 (of 9,241 total)

  • RE: Change permissions on all databases for a service account

    Public is already an inherited role for all users. Try the following

    exec sp_msforeachdb 'use [?];

    create user [domain\user];

    exec sp_addrolemember ''db_backupoperator'', ''domain\user'';

    exec sp_addrolemember ''db_denydatareader'', ''domain\user'';'

    Ignore output messages indicating the database user...

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

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

  • RE: Restore/Backup minimal permissions

    yes!

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

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

  • RE: Restore/Backup minimal permissions

    smitty-1088185 (11/3/2010)


    How do you automatically give the Database level permissions to any new databases created by another team?

    add them to the model database on that instance

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

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

  • RE: Log file grows very big after running a job

    HoustonFirefox (11/1/2010)


    I admire and learn a great deal from my collegues here and respect everyones point of view.

    Ha ha, pull your tongue out of his backside will you :Whistling:

    Making...

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

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

  • RE: Is it time to shrink my log file?

    WayneS (11/2/2010)


    We're having an outage this weekend when we're upgrading to SQL 2008... I plan on using this time to do this.

    Good luck with the upgrade Wayne, be interesting to...

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

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

  • RE: Log shipping question

    From BOL

    To enable log shipping

    ➡ Initialize the secondary database by restoring a full backup of the primary database on the secondary server.

    ➡ On the primary server, execute sp_add_log_shipping_primary_database to add...

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

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

  • RE: Huge SQL 2000 Database need to shrink it :(

    chris.s.powell (11/2/2010)


    As for the rebuild index, it will be recorded in the log file, with a proper backup plan in place, that space will be freed after it is completed.

    I'm...

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

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

  • RE: Huge SQL 2000 Database need to shrink it :(

    chris.s.powell (11/2/2010)


    please make sure you rebuild your indexes and statistics when this is completed!!!!

    Problem is, this just causes the database to grow again!! All that I\O to shrink is now...

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

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

  • RE: Is it time to shrink my log file?

    Kimberley Tripp


    Wait for an inactive time of day (ideally, it would be best to put the database into single user mode first)

    It's important to note that Kimberley merely advises that...

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

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

  • RE: Huge SQL 2000 Database need to shrink it :(

    sais

    please post the results of the following query executed against your database

    select[FileSizeMB] = convert(numeric(10,2)

    , round(a.size/128.,2))

    , [UsedSpaceMB] = convert(numeric(10,2)

    , round(fileproperty( a.name,'SpaceUsed')/128.,2))

    , [UnusedSpaceMB] = convert(numeric(10,2)

    , round((a.size-fileproperty( a.name,'SpaceUsed'))/128.,2))

    , [DBFileName] = a.name

    from sysfiles a

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

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

  • RE: Backups (full, diff, tran) work to destination IP address on 6 out of 7 instances.

    danfugett (11/1/2010)


    We have a new network share to backup sql files to. We are using the destination format \\10.1.20.50\sqlbackups\Production\foldername. We can get all the backup scripts to backup to this...

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

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

  • RE: Incorrect user stored for reporting services

    does the report use an embedded data source or separate SSRS stored data source? How is this data source configured?

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

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

  • RE: Log shipping question

    SqlN00bie (11/1/2010)


    I have created a script to do the log backup for multiple databases instead of using the log-shipping wizzard. This is just so i have less number of...

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

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

  • RE: SSRS install process

    Parthi

    see the attachment below for my instructions on how to configure an SSRS 2008 instance

    😎

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

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

  • RE: sql account with connect sql can shutdown sql server

    have you checked the local administrators group on the server?

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

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

Viewing 15 posts - 7,426 through 7,440 (of 9,241 total)