Forum Replies Created

Viewing 15 posts - 27,706 through 27,720 (of 49,552 total)

  • RE: PURPOSE OF TEMPORARY TABLES

    The other two cases I will use table variables are:

    1) When the table variable is not joined to any other tables for the final query. Maybe it's used to dump...

    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: Primary filegroup is full can't sync SQL 2005

    Tell them to get someone in who at least knows SQL, preferably knows the database structure as well. Since you know neither, anything you do could easily break things while...

    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: Transaction Log Truncation Maintenance Plan and LSN

    Good question. I can't answer that, you're the only one who can.

    Was the maintenance plan scheduled, running and succeeding?

    What was the log_reuse_wait_desc in sys.databases for that database/

    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 with statistics

    The warning triangle is saying there are statistics missing. Update stats only updates existing stats, it won't add new ones.

    Is auto_create_stats on? What's the object that the warning is on?

    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: DateAdd Function on 30th and 31st of any month

    Please note: 5 year old thread.

    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: Primary filegroup is full can't sync SQL 2005

    That completely depends on what data is in the database. There's no simple answer to that. Is there no SQL person 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: Are the posted questions getting worse?

    GSquared (2/16/2011)


    I blame Wayne. Execution at noon.

    Who's noon?

    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: why the avatar picture you use

    GSquared (2/16/2011)


    Or maybe another iguana picture.

    There's an idea...

    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: Transaction Log Truncation Maintenance Plan and LSN

    Please, please, please don't run scheduled shrinks. If you explicitly truncate the log (which you can't on SQL 2008) you will need to take another full backup before you 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: finding slow running queries

    SKYBVI (2/16/2011)


    also, u can right click on server, reports-- standard reports

    and then see the --Top queries by average CPU time...and other more information.

    Regards,

    Sushant

    That uses the DMVs that Grant mentioned earlier

    Another...

    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: when delete command auto commits?

    Ian Scarlett (2/16/2011)


    Grant Fritchey (2/16/2011)


    but I think I'm right on this one if implicit transactions are on.

    I also thought that if you executed a procedure on a connection with implicit...

    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: why the avatar picture you use

    Grant Fritchey (2/16/2011)


    And now it's a new one. It was time to change.

    Ooh. Beware the wizard. Swift to anger.

    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 get back the hash values in sql server

    Please, please do some reading before you start playing with encryption. If you don't know how or why a script works, you shouldn't just be running 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: when delete command auto commits?

    If implicit transactions are on, the transaction begins when the first statement/modification occurs (I'm not sure which) and commits when an explicit COMMIT TRANSACTION statement runs. All that implicit transactions...

    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: database crash

    Brandie Tarvin (2/16/2011)


    So, back to the statement you made right before this, how does the crash recovery cause further damage to a database that's already marked suspect?

    It won't. Suspect 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

Viewing 15 posts - 27,706 through 27,720 (of 49,552 total)