Forum Replies Created

Viewing 15 posts - 21,646 through 21,660 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Dev (12/20/2011)


    Henrico Bekker (12/20/2011)


    some help here....what am i missing from his side?

    http://www.sqlservercentral.com/Forums/Topic1224192-1292-1.aspx

    Change compatibility level of your database to make your code bulletproof.

    ALTER DATABASE Testing SET COMPATIBILITY_LEVEL = 90

    GO

    USE...

    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: DBCC checkdb failed on VLDB

    Several ways you can checkDB a VLDB (though 500GB is no where near a VLDB. It's medium-large these days).

    You could restore the backup to another server and run CheckDB there....

    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 Backup Help.

    Excellent. Glad to hear.

    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: Can modify SQL Server default trace?

    Two ways you can achieve that.

    1) Put a scheduled job in place to copy the older trace files to another location at a regular interval before they can be deleted...

    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: Sanity Check/Assistance re-writing nested join

    Word of caution. You have two left outer joins, then you have where clause predicates that will exclude null values, essentially turning those joins back to inner joins. Is 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: Sanity Check/Assistance re-writing nested join

    Err... by the way http://sqlblog.com/blogs/andrew_kelly/archive/2009/04/10/how-dirty-are-your-reads.aspx

    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 2005 to ???

    I would wait for 2012. SQL 2008 was solid at release, some bugs but nothing earth-shattering, SQL 2008 R2 the same.

    Do note the licensing changes though...

    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?

    Stefan Krzywicki (12/19/2011)


    GilaMonster (12/19/2011)


    Stefan Krzywicki (12/19/2011)


    Steve Jones - SSC Editor (12/19/2011)


    GilaMonster (12/19/2011)


    I don't think I should say anything about when I started, or there may be overripe pawpaw coming in...

    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?

    Stefan Krzywicki (12/19/2011)


    Steve Jones - SSC Editor (12/19/2011)


    GilaMonster (12/19/2011)


    I don't think I should say anything about when I started, or there may be overripe pawpaw coming in my general direction.

    You're...

    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 determine hung process?

    Cool. So all sorted?

    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?

    I don't think I should say anything about when I started, or there may be overripe pawpaw coming in my general direction.

    Edit: And for those who may not know what...

    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 determine hung process?

    Have you looked at the wait type and resource? (of both that function and any other query you run)

    Is the CPU bottlenecked?

    Is that functionality written optimally? Are there good indexes?

    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: Problem when change structure

    gheinze (12/19/2011)


    You don't think it will be for the disk performance (I think so, but now you said that is normal I dont know what to think)

    It could be. It...

    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: Trigger fires twice

    Run a profile trace to be completely sure whether

    1) the insert into TblWebArtikles isn't happening twice

    2) the trigger is running twice (which is not possible unless the insert has...

    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 query to handle date range criteria

    Assuming that effdate is the column under consideration here:

    EffDate BETWEEN DATEADD(dd, -90, getdate()) AND getdate()

    If that's not correct, please post table definitions, sample data and desired output. Read this 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

Viewing 15 posts - 21,646 through 21,660 (of 49,552 total)