Viewing 15 posts - 346 through 360 (of 4,745 total)
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...
January 22, 2014 at 3:24 pm
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,...
January 22, 2014 at 3:20 pm
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...
January 21, 2014 at 4:16 pm
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...
January 21, 2014 at 2:30 pm
John Mitchell-245523 (1/21/2014)
January 21, 2014 at 1:09 pm
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...
January 20, 2014 at 11:11 am
is the table a heap (indid = 0). rebuild would not be able to defragment a heap.
January 20, 2014 at 11:08 am
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,...
January 20, 2014 at 11:06 am
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)) + '.' +
...
January 20, 2014 at 10:36 am
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...
January 20, 2014 at 6:39 am
Perry Whittle (1/20/2014)
SQL_Surfer (1/17/2014)
January 20, 2014 at 6:37 am
the version for 2005 and 2008 is the same.(but different from the 2000 version)
January 17, 2014 at 4:04 pm
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...
January 17, 2014 at 4:01 pm
did you run updateusage before the spaceused.
How did this database come to have so much freespace? Were variable length columns dropped?
January 17, 2014 at 10:03 am
Viewing 15 posts - 346 through 360 (of 4,745 total)