Forum Replies Created

Viewing 15 posts - 346 through 360 (of 4,745 total)

  • RE: Log shipping between sql 2008 vs sql 2008 r2

    you would have to do the restores in norecovery mode. As soon as you failed over and bought the secondary online the databases would get upgraded. You would then not...

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

  • RE: steps to move data and log file in sql server cluster

    As I understand it you are only doing this to separate data from log? I would seriously consider, in fact recommend, only moving the user databases and perhaps tempdb,...

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

  • RE: server role and permission

    it will have whatever rights are granted to public, we can only surmise that is all the app requires.

    It has been granted view any definition so will be able...

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

  • RE: server role and permission

    well - sysadmin - no only joking, don't do that 🙂

    that script will add the user to model as well, so all new databases would automatically get the user as...

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

  • RE: Run Script in each databases in sql server

    John Mitchell-245523 (1/21/2014)


    But you don't want it running against databases that don't have the tables - that would be a waste of resources. That's why I suggested scripting it...

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

  • RE: Index fragmentation not cutting down to 0

    no problem

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

  • RE: using one backup device for multiple databases

    never, never backup multiple database to one device. Would make finding the correct backup for a restore a nightmare. Also if you lose that device you lose all your backups.

    I...

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

  • RE: Index fragmentation not cutting down to 0

    is the table a heap (indid = 0). rebuild would not be able to defragment a heap.

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

  • RE: Copy logins with their password

    database permissions are held within the database, so will be taken over with the database restore.

    Scripts above only deal with the logins, but as they take the sids with them,...

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

  • RE: How to see foreign key relationship

    Nice script Perry, if you don't mind a small improvement to cover cases where the parent table is in a different schema

    SELECT'The table ' + QUOTENAME(SCHEMA_NAME(k.schema_id)) + '.' +

    ...

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

  • RE: Copy logins with their password

    Perry Whittle (1/20/2014)


    GilaMonster (1/20/2014)


    Also consider the SSIS Transfer Logins task.

    Oh jesus, not that festering steamy pile of doggy doo doo 😀

    as perry says - doggy doo doo. For sql authenticated...

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

  • RE: Copy logins with their password

    Perry Whittle (1/20/2014)


    SQL_Surfer (1/17/2014)


    I need to copy some databases from one server to another. What is the best way to copy logins with their passwords? Each login has access to...

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

  • RE: Copy logins with their password

    the version for 2005 and 2008 is the same.(but different from the 2000 version)

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

  • RE: Mirroring

    you can still shrink it if thats what you mean.

    If the log is growing because communication with the mirror is lost, then if you cannot reestablish mirroring you will have...

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

  • RE: Reclaim free space

    did you run updateusage before the spaceused.

    How did this database come to have so much freespace? Were variable length columns dropped?

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

Viewing 15 posts - 346 through 360 (of 4,745 total)