Forum Replies Created

Viewing 15 posts - 8,851 through 8,865 (of 49,552 total)

  • RE: Not Exists

    ramana3327 (6/1/2014)


    I heard that for large table we can't use exist or not-exit will be problem.

    And you tested that statement and confirmed it to be true?

    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: Not Exists

    Why are you looking for an alternative to NOT EXISTS?

    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: Cannot attach sql 2005 database to sql 2008

    renitaj (5/31/2014)


    Problem with this database is that I have deleted data in the past and hence the fileids are not consecutive and hence when i attach it on the destination...

    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: SQL Database Size 0 and Unallocated space in negative ..how to Free up?

    sanjivvinaik (5/31/2014)


    This issue is caused if log back is not taken before tlog file get full.

    Lack of log backups don't cause negative used space.

    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: DB concurrency how to....

    Sequences sound like a good choice here.

    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: T-Sql Query

    ramana3327 (5/29/2014)


    What I understand is that, we have to put all the values from the left table to the table variable, first. Then we have to UPDATE the table variable...

    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: Indexes

    If the indexes are absolutely identical, then it cannot matter which you drop because they are identical.

    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: TableVariable Update

    A table variable, like any other variable, is only in scope until the end of the batch. If you run the table variable declare, then as another batch run 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: High Memory Utalization

    High memory utilisation is good. It means SQL is correctly using the resources that you've told it that it can use (via max server memory)

    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: CTE - why use, and NOLOCK

    Michael_Garrison (5/30/2014)


    1. Why use CTE? I see a number of times when people answer others questions that they use CTE's. I understand for recursive code issues. ...

    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: Restoring master database

    The location does not exist. If it did, you wouldn't be getting this error:

    The system cannot find the path specified.

    You need to figure out where SQL is trying to create...

    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: performance problems stored procedures vs dynamic sql

    Without seeing some code, there's nothing anyone can do but guess.

    In general, dynamic can be faster if you're encountering parameter sniffing problems or other problems related to an unstable...

    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: Hard NUMA vs Soft NUMA

    The error log lists the NUMA setup. Post that.

    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: Farewell

    SQLRNNR (5/29/2014)


    Have some fun and enjoy the opportunity.

    On the side, will you be back June 14th or July 14th?

    If Steve's managed to squeeze a 6 week break into a 2...

    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: Logical Consistency Error

    Did you ever test the backup after it was made?

    Restore it somewhere else and check as well.

    Also, make sure you restored the right backup in the right place. 🙂

    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 - 8,851 through 8,865 (of 49,552 total)