Forum Replies Created

Viewing 15 posts - 3,151 through 3,165 (of 18,926 total)

  • RE: Huge transaction log backup

    GilaMonster (8/22/2011)


    Recompiles aren't logged.

    Besides, procedures aren't recompiled when the statistics update. They recompile next time they run if they used any of the statistics that changed.

    Is the engine smart enough...

  • RE: tricky query

    GilaMonster (8/22/2011)


    Ninja's_RGR'us (8/22/2011)


    P.S. when something runs 10X slower than something else, the plan is NOT the same... or should not be the same.

    Unless there's major blocking/waits on the slow one.

    But...

  • RE: tricky query

    P.S. when something runs 10X slower than something else, the plan is NOT the same... or should not be the same.

  • RE: tricky query

    You're telling your mechaninc that you have a problem with you car, without any more details and without letting if see the car or run any diagnostics.

    Good luck fixing your...

  • RE: tricky query

    can you at least post the actual execution plan?

    When was the last time you updated the stats on those tables?

  • RE: deleting autocreated statistics?

    Roy Ernest (8/22/2011)


    There is one problem with Autocreated statistics. It is rare but can happen and has happened in our environment.

    Let us say we have a table with 6 columns...

  • RE: Composite key Vs Surrogate key

    No possible way to make that call without seeing the standard queries hitting that table, their execution plans and the % of each query type.

  • RE: DateAdd script not working

    Thanks for the very detailed post. It's really helpful to helps us help you.

    Now the only missing part is 1-2 sample date + required output.

    Right now I don't understand...

  • RE: Error showing the data in table

    sonythan (8/22/2011)


    Hi thank you for your reply

    The problem with div by billion is some of my company store has so little sales. Not even get a billion number.

    But i just...

  • RE: deleting autocreated statistics?

    Grant Fritchey (8/22/2011)


    Ninja's_RGR'us (8/22/2011)


    The real problem is the join hint.

    I've never heard of <auto>-update stats causing problems. I'm not saying it's impossible, but on the very improbable side.

    I have...

  • RE: *= non ansi join

    ColdCoffee (8/22/2011)


    The query you posted did not have a join statement, but the error message says differently. Is the procedure complete? or you just posted part of the SP?

    Yes you...

  • RE: SQL Server 2008 shirnk logs

    Good thing it doesn't work.

    The command you need to run is backup log. Not truncate log.

    If you don't care about losing all the data between full backups change the...

  • RE: Huge transaction log backup

    Now keep in mind that I have a tone of tables with very little or no data. So this will get different results that 1 big table.

    SELECT COUNT(*) FROM...

  • RE: deleting autocreated statistics?

    The real problem is the join hint.

    I've never heard of <auto>-update stats causing problems. I'm not saying it's impossible, but on the very improbable side.

  • RE: replace Nulls with blanks across an entire table

    I type slower than I think.

    ISNULL(Colname, '')

    😀

    If this was not a one time deal I would put a bunch of ors in the where to only update the rows that...

Viewing 15 posts - 3,151 through 3,165 (of 18,926 total)