Forum Replies Created

Viewing 15 posts - 28,921 through 28,935 (of 49,552 total)

  • RE: How can I get this selection in one TSQL run ?

    RowNumber with both partition by and order by will give you the position of each of the rows you want within the groupings, then you can filter on that. Rank()...

    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?

    ChrisM@home (12/11/2010)


    GilaMonster (12/11/2010)


    ChrisM@home (12/11/2010)


    What's surprising me, today, is the number of folks lurking in here - you're not all avoiding the Christmas crowds now are you?

    Spent the morning doing a...

    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: Installation of Sql Server 2005

    Could you perhaps be a little more specific as to what warning you got and when you got 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: Are the posted questions getting worse?

    ChrisM@home (12/11/2010)


    What's surprising me, today, is the number of folks lurking in here - you're not all avoiding the Christmas crowds now are you?

    Spent the morning doing a SAN perf...

    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: Need advice to improve SQL Server 2000 performance

    Yes.

    I just did a detach from SQL 2000 attach on SQL 2008 R2 this morning, and the processor architecture makes no difference to the file structure. x86, x64 and IA...

    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: commited transaction rollback in SQL Server2008

    It's only possible if you have a backup from before the query you executed by mistake.

    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: time diff hh.mm

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic1033289-391-1.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: DBCC PAGE

    george sibbald (12/10/2010)


    I have gone back and revisited it and got a hit on the objid this time. I don't have the original session but I think my error was...

    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: A severe error occurred on the current command.The results, if any, should be discarded.

    Just in case, run the following and check that it doesn't return anything.

    DBCC CHECKDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

    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: WHERE...IN vs JOIN

    Just on the IN and the Join

    http://sqlinthewild.co.za/index.php/2010/04/27/in-exists-and-join-a-roundup/

    As for the rest, look at the exec plan and see what's happening.

    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 PAGE

    The number given as m_objId should match to a table in sysobjects. The index id of 255 means this is a LOB page.

    Sure you're in the right database? Easy...

    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: Shrinking Databases

    If what you're trying to do is clean up too many VLFs, then you do (once and only once) want to shrink to 0 and then grow to the appropriate...

    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: added sys view "routes"

    Glen Potter (12/10/2010)


    TIt was just a surprise that MS would create a view or any other object that was not more precisely named e.g., "sys_routes", or "net_routes".

    sys.objects

    sys.indexes

    sys.partitions

    It's a system...

    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: Shrinking Databases

    pjdiller (12/10/2010)


    SanDroid (12/10/2010)


    pjdiller (12/10/2010)


    Yes? I didn't say it'll throw an error, just that it's ignored. It's the same as running

    DBCC SHRINKFILE (N'my DB logfile' , 0)

    Ultimately, my question is whether...

    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: Shrinking Databases

    SanDroid (12/10/2010)


    Unfortunately, this opens another can of worms:

    What happens when you hide an application feature that a Novice was using somewhere that requires him to make a $250.00 M$ 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

Viewing 15 posts - 28,921 through 28,935 (of 49,552 total)