Forum Replies Created

Viewing 15 posts - 25,396 through 25,410 (of 49,552 total)

  • RE: Restrict Autogrowth size( File Growth ) of a Database to 10 percent :)

    10% is a dangerous file growth. Recommendation is not to use % (as it can get out of control as the file grows) but to set it to a sensible...

    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 2005 FileGroups

    Files cannot be moved between filegroups. End of story.

    You can use Shrinkfile with the EmptyFile option to empty the file so that it can be dropped, but that's it. If...

    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: Cannot attach a DB

    sathish2109 (6/21/2011)


    I tried to attach a Dabase which is in my Portable HardDisk. But Im getting an error saying 'Attach Database Failed' and noticed the error code as 824....

    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: Cannot attach a DB

    Jayanth_Kurup (6/21/2011)


    you need to copy the database files onto the disk of the machine hosting sql server. u cannot run sql database on protable media

    Completely false. I often run 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: Error message is: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.

    http://support.microsoft.com/kb/923247

    If you need further help post, but I won't be able to help much this week.

    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: @@TRANCOUNT

    Because the insert starts a transaction and automatically commits it as soon as its finished.

    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: Nolock Hint

    sqlnaive (6/21/2011)


    Actually while deleting 50k records one at a time, the table getting locked and affecting other processes as well.

    Snapshot isolation (or read committed snapshot)

    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: Indexing: How will you index this query??

    Post Execution plans please.

    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: files on RAW device

    Documentation?

    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: Nolock Hint

    No lock is never good 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: Indexing: How will you index this query??

    Non clustered on all four columns. Go read my blog (indexing category) for a post explaining why.

    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 448 dump link required

    There are usually ones on CD in the MS press exam guides, other than that, buy the Transscender or mEasureUp practice exams (they usually have a couple questions as demos)

    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: Programming sql performance

    Syed Jahanzaib Bin hassan (6/21/2011)


    Set Nocount

    when you set on this,SQL Server will not count the rows ,it will increase the performance because overhead of counting must be disabled and 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: Need help for checkdb error

    Iirc, the bugs in the page usage tracking were fixed in 2005 RTM, fixed again in 2005 SP1 and fixed again in SP3. (or something like that)

    If you're post SP3...

    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 448 dump link required

    Dumps are cheating. They are the actual questions from the real exams and using any such 'study aid' is against the the rules for the exams. Using or distributing them...

    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 - 25,396 through 25,410 (of 49,552 total)