Forum Replies Created

Viewing 15 posts - 31,261 through 31,275 (of 49,552 total)

  • RE: SQL SErver Query Plans

    JRoughgarden (8/13/2010)


    Anyway finally the MS responder told me that it was due to conditional logic causing different temp tables to be created and different dynamic sql to be generated and...

    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: MCSE any value to a DBA?

    Several of the exams for that cert have expired and more of them are expiring this year. The MCSE is only for Windows server 2003, for the later versiosn it's...

    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: 64-bit topped out at 4 GB used

    Also

    SELECT @@version

    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: Delete Stored Procedure Entry from sys.objects in sql server 2005

    Deny them any rights on it. If they have no permissions on the procedure, they can't see that it even exists.

    If you had managed to delete from sys.objects, you would...

    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 Shrink

    Why do you want to shrink? Databases tend to grow as more data gets put in them. It's in their nature.

    Shrinking causes massive fragmentation and will just result in 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: Restore Incomplete BAK file

    Where did the backup come from? What version of SQL and what tool? Where are you restoring it? What version of 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: Delete Stored Procedure Entry from sys.objects in sql server 2005

    You cannot change the system tables on SQL 2005+ You shouldn't event be considering changing the system tables unless you are happy with the possibility of having a corrupt and...

    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: clustered index

    Please note: 2-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: Create #Temp Table using While Loop Instead of Cursor

    kscott-851323 (8/12/2010)


    I want to create a temporary table using a While Loop instead of a Cursor.

    Why? If you're trying to remove the cursor, a while loop is no better....

    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 optimize Inventory database transaction

    If you add an appropriate index, you won't be searching the entire table.

    I suspect this is one of the interview questions where there's no right or wrong. They want 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
  • RE: SQL SErver Query Plans

    JRoughgarden (8/12/2010)


    You can also get multiple copies if the sproc does conditional logic within. Depending on the branch taken, different plans result.

    When a plan is compiled and the proc contains...

    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 optimize this database? Thanks.

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    If you're in a hurry and have no idea where to start, consider getting someone in to do a performance review, do some tuning and teaching.

    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: Book on Query Tuning and Optimization

    SQL Server 2008 Query Performance Tuning Distilled

    Books alone aren't going to make you an expert. Practice does that. Lots of practice.

    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 I use a saved execution plan?

    Peter Trast (8/12/2010)


    I missed it!!! I was in New Orleans this year...

    TechEd Africa, not TechEd North America.

    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 - Is this used in real life?

    I'm fond of running it before my full backups (providing there's enough time available). That way I know I'm not backing up a corrupt database.

    My personal rule-of-thumb - CheckDB should...

    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 - 31,261 through 31,275 (of 49,552 total)