Forum Replies Created

Viewing 15 posts - 736 through 750 (of 5,843 total)

  • RE: Effort to configure Logshipping/Mirroring/Replication/Always on

    I don't think we can provide you with the information you are seeking here on a forum. You should recommend to your client that they hire a consultant who can...

  • RE: Effort to configure Logshipping/Mirroring/Replication/Always on

    Benki Chendu (9/22/2016)


    Hi All,

    I was asked this question by one of my customer.

    He wanted me to give him a rough idea about the effort to configure Logshipping/Mirroring/Replication/Always on ,...

  • RE: Is there a better faster way then REPLACE in this example?

    Very slick Sergiy!! An elegant yet exceedingly simple solution to this need.

  • RE: Strange Blocking

    What was the ACTUAL blocked resource? Are you absolutely certain it was blocking and not latch contention or something else?

    I like sp_whoisactive to see lots of details about such things....

  • RE: Is there a better faster way then REPLACE in this example?

    ghughes (9/21/2016)


    this is what I can do. I can write some sql, that will produce some tsql alter statement to a function that is driven by the bad...

  • RE: Is there a better faster way then REPLACE in this example?

    Nicely done Luis. I completely missed that in nesting the REPLACEs you can make them operate in the order you want and thus could wrap this up in the desired...

  • RE: Is there a better faster way then REPLACE in this example?

    1) You can probably save some CPU ticks if you nest REPLACEs up to whatever level they can be nested instead of doing that many separate SET statements. This savings...

  • RE: DBCC TRACEON (4199) affects all databases in a server

    If you really want trace flag 4199 to apply to just one database you are limited to modifying every query in said database you want it applied to and apply...

  • RE: Group Concatenate Strings?

    Just found out while doing research that some other RDBMS' have this functionality built in!

    Also, Adam Machanic suggested a CLR UDA, and I found such on codeplex

    https://groupconcat.codeplex.com

    Not sure I can...

  • RE: Group Concatenate Strings?

    Those are both rather gross (especially yours Eddie!!), but they do seem to give the right answer at least. Given I will have N columns and M rows I don't...

  • RE: need to extract text from given string

    komal145 (9/19/2016)


    Given string I need to get two values :

    example 1 string : Day20ReminderCampaign2016_09_15_13:46:57

    needed :

    1) Day20ReminderCampaign

    2 ) 20160915 13:46:57

    example 2 string Day3ReminderCampaign2016_09_19_02:28:39

    needed :

    1) Day3ReminderCampaign

    2 ) 20160919 02:28:39

    Please...

  • RE: PLE

    andrew gothard (9/16/2016)


    TheSQLGuru (9/16/2016)


    I honestly haven't used PLE as a metric in probably a decade. Avg disk sec/read and avg disk sec/write are WAY more appropriate IMHO.

    While obviously not expecting...

  • RE: Shrinking a large DB

    Grant already addressed the data distribution/development stuff.

    I would think there is the potential for iterative shrinks to actually take a lot longer. Shrink works by moving pages and I don't...

  • RE: PLE

    I honestly haven't used PLE as a metric in probably a decade. Avg disk sec/read and avg disk sec/write are WAY more appropriate IMHO.

  • RE: Shrinking a large DB

    I will disagree with others about reducing the data being a good thing. Obfuscation sure, but ONLY where REQUIRED.

    The OP stated this database was to be promulgated to developers so...

Viewing 15 posts - 736 through 750 (of 5,843 total)