Forum Replies Created

Viewing 15 posts - 23,626 through 23,640 (of 49,552 total)

  • RE: Another bug in SS?

    No. This is not a bug, it's not a suggestion. Blog it if you want the world to know, Connect is for bugs and suggestions, not quirks of the T-SQL...

    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: Parameters and Execution Plan Reuse

    To be honest, no. I really, really, really don't ever recommend anyone use this, and posting it could give the impression that I do. Since this is a SAP 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: Parameters and Execution Plan Reuse

    There's a traceflag to turn parameter-sniffing off server-wide, but that will affect every single query and probably will be detrimental to most. I would not recommend using that, rather targetted...

    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: Objects in a datafile

    No, because if you have multiple tables in a filegroup the data in the tables will be striped across all of them.

    Objects are per-filegroup, not per-file.

    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: Another bug in SS?

    Jack Corbett (9/9/2011)


    So at least with 2005 SP4 the semi-colon doesn't exactly fix it, you need the EXEC or EXECUTE whenever including an SP call in a batch.

    Yes you do....

    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: Another bug in SS?

    Ninja's_RGR'us (9/9/2011)


    MysteryJimbo (9/9/2011)


    Ninja's_RGR'us (9/9/2011)


    So once ";" are mandatory, the problem will go away.

    I love this proposed new "feature". Millions of lines of code to be changed =...

    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: Another bug in SS?

    MysteryJimbo (9/9/2011)


    FWIW I can reproduce but I dont think its necessarily a bug.

    The first query appears to be starting a transaction named sp_who2.

    The last one appears to have a problem...

    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: Page File location and Size

    General recommendation is to let the OS manage, but that's not necessary for SQL Server. SQL doesn't use the page file (well, if it does, you have problems already), 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: Time data type and negative TimeSpan values?

    The Time data type is not a timespan. It's a point in time. So 04:30 is half past 4 in the morning, not a duration of 4 hours 30 min....

    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: Error: 9002, Severity: 17, State: 6 The log file for database tempdb is full. Back up the transaction log for the database to free up some log space

    Would someone please explain to me the logic behind shrinking (making smaller) a full file?

    If the file is full, it has not free space in it. Shrinking removes free 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: add new column to a table

    sqlfriends (9/8/2011)


    I have a critical database. And now I would like to add a column to the table, is it good to add as the last column of 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: What would you move (in your DB ) to a new Drive If Your DB Server Got One

    Jeff Moden (9/9/2011)


    Gail is the expert in this area but I believe the next thing I'd move is TempDB. If that's already on separate physical spindles, then maybe I'd...

    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 package from msdb back-up copy

    sqldba_newbie (9/8/2011)


    GilaMonster (7/17/2008)


    It is possible to restore MSDB, but the process is not the same as for one of the user databases.

    See - http://msdn.microsoft.com/en-us/library/ms190749.aspx

    At the end of the article says...

    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: Page File location and Size

    http://sqlserverperformance.wordpress.com/2007/12/17/windows-page-file-explained/

    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: Adding PERSISTED Computed Column = INDEX Defragmentation?

    codebyo (9/8/2011)


    In the company I work for we don't have DBAs so it's basically us developers doing the dirty work. After some analysis I found out that almost all of...

    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 - 23,626 through 23,640 (of 49,552 total)