Forum Replies Created

Viewing 15 posts - 6,616 through 6,630 (of 49,552 total)

  • RE: Replaying deadlocks

    While that could work, it's possible you could end up fixing deadlocks that you won't get in prod. Unless you have a lot of spare time, maybe rather look at...

    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: doubt on include column

    Edit: No, it's me who mis-read the question.

    A nonclustered index can only ever contain a column once. Hence if you explicitly reference a column that's implicitly in the index already,...

    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?

    Brandie Tarvin (2/4/2015)


    GilaMonster (2/4/2015)


    Ed Wagner (2/4/2015)


    GilaMonster (2/4/2015)


    Brandie Tarvin (2/4/2015)


    GilaMonster (2/3/2015)


    And spending the evening at the office because there are scheduled blackouts in my area. Again.

    Scheduled blackouts? Is the electrical grid...

    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?

    Ed Wagner (2/4/2015)


    GilaMonster (2/4/2015)


    Brandie Tarvin (2/4/2015)


    GilaMonster (2/3/2015)


    And spending the evening at the office because there are scheduled blackouts in my area. Again.

    Scheduled blackouts? Is the electrical grid overworked?

    Yup, since 2008.

    So,...

    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?

    Brandie Tarvin (2/4/2015)


    GilaMonster (2/3/2015)


    And spending the evening at the office because there are scheduled blackouts in my area. Again.

    Scheduled blackouts? Is the electrical grid overworked?

    Yup, since 2008.

    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: doubt on include column

    You can't include a column that's already in the key.

    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 find most used column in every table

    No, most used has nothing to do with 'should be indexed'. What if the most used is always in a select and never in the where. Indexing is a little...

    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 find most used column in every table

    No, and most used does not mean that it must be indexed. Indexing is a little more complex than that.

    See the entries on my blog in the indexing category.

    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: The Number that shouldn't be a number

    RonKyle (2/3/2015)


    There are cases where using a GUID as the primary key is valid. The problem comes if you also make it your clustered index.

    These cases are rare. To...

    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: restore TDE backup onto new server

    Hadrian (2/3/2015)


    Install SQL Server Binaries on Server B (exact same build including all hotfix and patches as server A)

    Move or copy the backup of the server certificate and the private...

    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: restore TDE backup onto new server

    Hadrian (2/3/2015)


    So in conclusion without password we cannot restore our encrypted database?

    Thanks very much

    Are you reading anything I write?

    Server A is online and working.

    Server A contains a working, accessible copy...

    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?

    And spending the evening at the office because there are scheduled blackouts in my area. Again.

    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: restore TDE backup onto new server

    Once more with feeling....

    Take a new backup of the certificate. If you can't, see my earlier post about changing the certificate.

    The existing password on the existing certificate backup is irrelevant...

    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: restore TDE backup onto new server

    What about the source server, where the database currently is? Or is that gone too?

    What, exactly, is the situation with regard to this database?

    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: The Number that shouldn't be a number

    Stephanie Giovannini (2/2/2015)


    What is best practice for storing time intervals in a table?

    I would use an integer and define that it's a number of minutes, seconds or hours as necessary

    ...

    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 - 6,616 through 6,630 (of 49,552 total)