Forum Replies Created

Viewing 15 posts - 3,151 through 3,165 (of 9,715 total)

  • RE: Prevent RENAME of a database

    Igor Micev (8/15/2014)


    Brandie Tarvin (8/15/2014)


    What about DDL Triggers? Could those rollback any attempt at renaming a database?

    I have already tried with a DDL trigger on instance level to catch the...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Preventing Duplicate Rows On An Insert

    Why not just use a LEFT OUTER JOIN to check for existence?

    DECLARE @LogId INT, @L INT, @E INT;

    SET @LogId = NULL;

    SET @L = 17;

    SET @E = 9999;

    INSERT INTO t...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Prevent RENAME of a database

    What about DDL Triggers? Could those rollback any attempt at renaming a database?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Compare two columns

    I'm not even seeing the logic between the 3 columns of the original data and the rows that appear to have more than three values.

    Please post your table DDL and...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Backup SQL settings?

    lptech (8/15/2014)


    At least in SQL Server 2014, SSIS packages all won't have to be modified

    YIKES! I forgot about mentioning this. NAS shares, SSIS packages saved on the File level...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Manually failing over a mirror without access to Primary Server

    John Mitchell-245523 (8/15/2014)


    Brandie

    Is it a witness you're looking for?

    John

    I wish. Corporate set up the mirroring without a witness server. @=(

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Sleeping Log Reader Agent blocking Distribution clean up job

    I think it would help us to know what your replication set up is.

    What type of replication?

    What is the latency / timing?

    Approximately how many subscriptions do you have...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Backup SQL settings?

    Our business has 2 data centers. We replicate every single backup (including the system DBs) to the other data center. If we lose the server, there are two places we...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: DB transaction log file on a shared hosting service

    matt6749 (7/30/2014)


    After shrinking I will rebuild the indexes to help reduce the fragmentation.

    I have some pretty bad news for you. Rebuilding the indexes will reduce fragmentation, but will increase the...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: DB transaction log file on a shared hosting service

    samanta0rodriges (7/30/2014)


    why won't Shrinkfile help?

    If you are not regularly backing up the transaction logs, the log won't free up any space. It will hold onto all the space it has...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Display Duplicates

    Chris Wooding (7/24/2014)


    Why are duplicate companies a problem? I would expect at least a few cases where you have more than one contact at a particular company.

    Or a situation where...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: DB transaction log file on a shared hosting service

    matt6749 (7/23/2014)


    I think it's ok because the data is not mission critical and I back it up myself also with a console app I wrote. ?

    Matt,

    How is your console app...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: DB transaction log file on a shared hosting service

    So far as I know, explicit transactions vs implicit transactions will not affect how the transaction log grows. Here are a few links to read up on.

    Transaction log basics

    Managing the...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: 1 Quick question for all the DBA's

    My advice is get to know what the business currently has set up (databases, data -- the why and wherefore of it, and business rules). Then see if you can...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • RE: Need help with basic spatial query

    Mark Harley (7/23/2014)


    Sorry, we're using a table variable and not a temp table. You can't add an index to a table variable, can you? We are pulling additional...

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

Viewing 15 posts - 3,151 through 3,165 (of 9,715 total)