Forum Replies Created

Viewing 15 posts - 31,861 through 31,875 (of 49,552 total)

  • RE: what will happen if clustered index is dropped.

    The same thing, in reverse.

    The creation of the cluster will force a rebuild of all nonclustered indexes on the table. Any execution plans using that table will be invalidated.

    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 always clustered index better than non-clustered index ?

    onlo (7/13/2010)


    Is always clustered index better than non-clustered index ?

    Are apples better than watermelons?

    They're not the same thing, so it's pretty meaningless to ask if one is better than 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: Memory fragmentation?

    Please note: 3 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: Performance Tuning

    Are you the DBA? If not, ask the DBA to do it for you.

    If you are, you can use either management studio GUI (Object explorer, right click server -> properties...

    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: dividing database across multiple datafiles

    Yes, did you try a search?

    To start with:

    http://msdn.microsoft.com/en-us/library/ms187087%28SQL.90%29.aspx

    http://msdn.microsoft.com/en-us/library/ms191433%28SQL.90%29.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: "Invalid Column" syntax error when using IF EXISTS

    It's a parse-time error, the error's happening before anything, including the IF executes.

    Referencing a table that doesn't exist is allowed, it's called deferred resolution. Referencing a column that doesn't exist...

    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 shrinkage

    Homework? Exam? Interview?

    If the recovery model is full, checkpoint is insufficient to mark log space as reusable. A log backup is required. A checkpoint only marks log space as reusable...

    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: dividing database across multiple datafiles

    If you add another file in a different filegroup, you can chose to move objects to the new filegroup. You have to drop and create the clustered index (or create...

    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: forgiving a query by not killing it.

    If the query is blocked, you could kill the blocking connection, but something still has to die.

    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?

    Gianluca Sartori (7/12/2010)


    Alvin Ramard (7/12/2010)


    Another thing that made me wonder about the OP was the way he/she communicates. Start a sentence with "like I went to the view i...

    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: forgiving a query by not killing it.

    Not while it's running.

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

    Operating system error 32 is "The process cannot access the file because it is being used by another process."

    Tells me something's trying to read the files while SQL is starting...

    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 about indexes in my table

    shayy (7/12/2010)


    From what i've understood so far, when using * the index doesn't matter but if i'll use exact

    column, then an index on that column can help.

    Um....

    I really think...

    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?

    CirquedeSQLeil (7/9/2010)


    Oh and Congrats Jeff.

    Ditto.

    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?

    Alvin Ramard (7/12/2010)


    Seemed obvious to me that the OP had never programmed an UPDATE statement before.

    Agreed. That's not something that you can just forget. Plus, someone who's done consulting 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

Viewing 15 posts - 31,861 through 31,875 (of 49,552 total)