Forum Replies Created

Viewing 15 posts - 33,991 through 34,005 (of 49,552 total)

  • RE: Database is in suspect mode in 2000

    sqldba551 (2/16/2010)


    As last 3 days back my server got hardware failure,my databases went into suspect mode,i have tried to take it to online by SET IT FIRST...

    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: Find tables unused since last SQL Server restart

    It looks like there are some non-printable characters that aren't spaces but look like spaces. Edit the whole thing onto a single line then re-format. Seems to work

    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: Question on IF EXISTS()

    kingscriber (2/16/2010)


    It would seem that Exists needs to perform full table scans within that view?

    No it doesn't

    Maybe the optimizer doesn't work for functions like this?

    Sure it does.

    The execution plan...

    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: Issue in reducing index fragmentation

    muthukkumaran (2/16/2010)


    The OP create a Non clustered index,so i guess the table was Heap.

    How do you conclude that?

    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: Ad hoc update to system catalogs is not supported.

    How about looking in Books Online?

    allow updates Option

    This option is still present in the sp_configure stored procedure, although its functionality is unavailable in SQL Server. The setting has no...

    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: Ad hoc update to system catalogs is not supported.

    The error's not about the filestream. Check the setting for allow updates, I'd guess someone for some reason has set it to 1.

    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: Issue in reducing index fragmentation

    muthukkumaran (2/16/2010)


    Object have cluster index ?

    It's not required that a table have a clustered index in order to defragment a nonclustered 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: 70-432 Study Materials

    Please post new questions in a new thread. Thanks

    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: Record metadata and IsDeleted?

    Dave Winchester (2/16/2010)


    1: IsDeleted / FlaggedForDelete Flag

    I believe that when a record is deleted, the tables is locked whilst this happens and then released?

    No. The row will be locked,...

    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 Commands

    It's not a program, it's just a class of commands that the SQL engine understands, just like CREATE TABLE and the like.

    You can use sp_helptext to see the definition 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
  • RE: Issue in reducing index fragmentation

    How big's the table? How many pages?

    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: sqlserver Trace Flags

    Not if those tasks have been scheduled nightly.

    You can move master from one server to another. It often results in lingering, hard to debug issues, especially around server principals, but...

    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 statics needed or not after migration

    GT the risk that you're running there is that if that manual stats update was needed, some queries may now exhibit slow performance occasionally, when the stats are stale enough...

    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: is there anyway to rebuild a log file of a multi file DB?

    Take a look at this, see if the error you're getting is detailed and worked through. If not, post the error.

    http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-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: Update statics needed or not after migration

    GT-897544 (2/15/2010)


    In SQL version is 2005\2008 Auto update statistics option is set 'on' by default at database level, no need to update stats frequntely, and also remember updating statistics causes...

    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 - 33,991 through 34,005 (of 49,552 total)