Forum Replies Created

Viewing 15 posts - 2,176 through 2,190 (of 49,552 total)

  • RE: Option(Recompile) with indexed Persisted columns and non-sargable predicate does a seek.

    Same kind of trick SQL can do with indexed views. With the views it can use the indexed view even if it isn't mentioned in the query, if the query...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Suspect data in SQL tables

    Gut feel - SQL Injection vulnerability somewhere. It is a concern, because if your site is known (to malicious apps/users) to be vulnerable, they can do more fun things than...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: WITH INDEX hint

    Alan.B (11/2/2016)


    Does this index get badly fragmented? That's sometimes a reason that the optimizer wont pick it.

    The optimiser knows nothing about fragmentation of indexes, the index's layout or position...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Grant Fritchey (11/2/2016)


    GilaMonster (11/2/2016)


    Grant Fritchey (11/2/2016)


    Do I need to explain a 5 micro-second difference

    No. That's well into the range of measurement inaccuracies. If you could check my blog (which you...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Grant Fritchey (11/2/2016)


    Hey! I'm qualified doggone it.

    OK, I absolutely don't meet the undergraduate degree requirement, but I'm pretty sure I meet all the others.

    I've got the degree (as long...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Grant Fritchey (11/2/2016)


    Do I need to explain a 5 micro-second difference

    No. That's well into the range of measurement inaccuracies. If you could check my blog (which you can't at the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Sean Lange (10/31/2016)


    What is this ability to delete spam some of you are talking about? I guess I am not part of that club.

    Me neither. Wish I could do more...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Azure certification for SQL DBA

    tauseef.jan (10/30/2016)


    I am thinking of doing Azure certification, but i am not sure if that is the right career path for a DBA.

    Up to you. You can look at the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: list of db features

    sqlserverDBA2016 (10/29/2016)


    Sorry but there's only one command there : get services sql

    Without any explanation on where or how to run it, is it on cmd or where

    The answer you're referring...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: WHAT TO DO WHEN DBCC CHECKDB(REPAIR_ALLOW_DATA_LOSS) FAILS

    Lynn Pettis (10/28/2016)


    Only other thing I can suggest is to call Microsoft and open a case with them, they may be able to help but not making promises.

    Though MS support...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: WHAT TO DO WHEN DBCC CHECKDB(REPAIR_ALLOW_DATA_LOSS) FAILS

    Then I'm sorry to say it's probably toast and not recoverable. Emergency mode repair's a last resort and has never been guaranteed to work.

    Check the MSDB backup tables, maybe you'll...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: WHAT TO DO WHEN DBCC CHECKDB(REPAIR_ALLOW_DATA_LOSS) FAILS

    MMartin1 (10/28/2016)


    Hmm, you may have a torn page if you say you had a transaction in progress when detaching the MDF (which leads me to wonder why you would...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to correctly restore page ERROR (data-corruption)

    The pages you restored, which will have been marked 'restoring' by the first restore you did.

    Please practice this somewhere other than production if you've never done it before. If you...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: WHAT TO DO WHEN DBCC CHECKDB(REPAIR_ALLOW_DATA_LOSS) FAILS

    Can you get the DB into Emergency mode at all?

    ALTER DATABASE HealthBookDB Set Emergency

    GO

    If so, can you query any tables while it's in Emergency mode?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Upgrade from SQL 2005... to Which Version ?

    Yes.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 2,176 through 2,190 (of 49,552 total)