Forum Replies Created

Viewing 15 posts - 39,691 through 39,705 (of 49,552 total)

  • RE: Problem with Identity Specification in SQL Server 2008

    That's not a bug. It's a safety measure added to SQL 2008's management studio to indicate that the change that you've requested to the table requires that the table be...

    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: Use Exist

    mithun.gite (4/17/2009)


    Actually I have been asked to Optimize the query and do the performance tunning to the query.

    select * from emp where dept_no in(10,20,30)

    As in this query only optimization we...

    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: Split Brain situation

    Consider a mirroring or clustering setup where there's an active server and a failover server that's offline. Split brain refers to a scenario where, for whatever reason, the communication link...

    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 for index

    Did you look at the Books Online pages that I suggested? The page "Reorganizing and Rebuilding Indexes" has a couple paragraphs exactly that, which to use when.

    Here's the online link...

    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: Who deleted the rows?

    What does this return?

    exec sp_configure 'default trace enabled'

    I don't think that the default trace keeps record of deletes. It doesn't have all that many events in it.

    If you didn't have...

    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 we merge two column FROM TWO ROWS?

    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/Topic699124-8-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: Non-clustered Index LeafLevel node - Table Heap

    The RID (Row Identifier). FileID, PageID, Slot index

    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 for index

    On a 2005 server you shouldn't be using either. They're both deprecated.

    Look up ALTER INDEX in books online, specifically the sections REBUILD (the replacement for DBCC DBREINDEX) and REORGANISE (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: sys.dm_db_index_physical_stats

    Well, if you look at that little note from books Online, it indicates that sp_updatestats will only update statistics that are 'out of date', based on the value of rowmodcnt,...

    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 indexdefrag and dbcc dbreindex

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

    No replies to this thread please. Direct replies to: [urlhttp://www.sqlservercentral.com/Forums/Topic699152-360-1.aspx][/url]

    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 kill Rollback process

    Depends. Was each of those inserts in it's own transaction or was there a single begin transaction at the beginning and a commit at the end?

    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: 208, Severity: 16, State: 0'

    Ignore it.

    Error 208 is Object not found. It's not uncommon for profiler to show 'false' errors due to internal deferred name resolution.

    http://blogs.sqlserver.org.au/blogs/greg_linwood/archive/2004/12/16/40.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: sys.dm_db_index_physical_stats

    Update them. If you delete the statistics you're forcing SQL to recreate them when it thinks they're necessary. Doing so could adversely affect an important query.

    Use UPDATE STATISTICS rather than...

    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 keeps switching from full recovery Model to simple recovery model

    Since this is SQL 2005, rather use sys.objects and sys.sql_modules

    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: Update statistics

    I know I've said that UPDATEUSAGE isn't required (in the discussion of the corruption article), but I don't recall ever saying that stats updates are never required.

    If anyone knows...

    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 - 39,691 through 39,705 (of 49,552 total)