Forum Replies Created

Viewing 15 posts - 25,456 through 25,470 (of 49,552 total)

  • RE: Restoring a dropped table

    Not the logs themselves (log backups can be mirrored)

    If you have two log files, SQL uses them sequentially. There's little-no reason to have multiple log files in SQL.

    For the log...

    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 able to create "estimated execution plan"

    sqldba_icon (6/16/2011)


    The sproc i am testing does drop temp tables, so does it mean it wont create an estimated execution plan when it is actually executing? So query optimizer doesnt...

    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 restore Multiple .Bak files automatically ?

    There's no simple script for that. Try something like RedGate's SQLDataCompare.

    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 2005 stops and restarts unexpectedly - Event ID:602

    techzone12 (6/16/2011)


    Should I work on correcting the problems (if any in the temp DB), or just apply the service pack.

    We have an application that uses the database and it's aknown...

    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 2005 stops and restarts unexpectedly - Event ID:602

    Sqlchicken (6/16/2011)


    Offhand I'd say it looks like you have database corruption on one of your system databases.

    TempDB.

    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 2005 stops and restarts unexpectedly - Event ID:602

    That's a known bug. Patch your instance to the latest service pack.

    The fix is part of SP2 CU3, or just patch to SP4 straight.

    (http://support.microsoft.com/kb/939537/ ) Cumulative update package 3...

    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: Row count in temp table

    opc.three (6/16/2011)


    Not trying to step in front of Gail...my shadow would maybe cover her pinky toe but the thread looked idle...

    SAVE TRANSACTION is when naming a transaction becomes relevant.

    Not 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 set a unique key on a bit field

    Post your script.

    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: 70-433 - Computed Columns

    jarid.lawson (6/16/2011)


    Here's what I understand about computed columns:

    Pretty much, yes

    I have read this next line many times over, but I'm still not clear about what is being stated here. Can...

    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: Deadlocks Solution

    I haven't, I'm busy with deadlock graphs and a performance intervention for a paying client. Maybe someone else has some time (deadlock problems aren't quick)

    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: Missing Drive where SQL Server instance installed - Urgent help required

    Yup. All but the last log backup need to be restored WITH NORECOVERY. The last WITH RECOVERY

    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 to learn how to be a DBA

    John Aitchison (6/16/2011)


    [font="Arial"]GilaMonster: If you use the MS Press books, which I recommend, for your MCTS and MCITP, pay special attention to any 'Notes' in the books. If it is...

    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: Batch alter stored procedure within one single transaction with error handling

    Dynamic SQL, or custom error handling with a temp table or similar (on error insert an error row into the table and then right at the end check whether 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?

    Steve Jones - SSC Editor (6/16/2011)


    GilaMonster (6/16/2011)


    All of mine got rejected 'max allowed sessions'. Am a little bleak about that, though I understand the reason. I thought in previous years...

    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: Batch alter stored procedure within one single transaction with error handling

    Brandie Tarvin (6/16/2011)


    Try naming the Transaction. See if that gets around the error.

    Naming transactions does just about nothing. It's a documentation thing (with one minor exception)

    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 - 25,456 through 25,470 (of 49,552 total)