Forum Replies Created

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

  • RE: MCTS 70-431: Exam Question

    sql60190 (3/12/2009)


    So, those of you who have taken this exam, how important is this subject?

    Fairly.

    That's about all that can be said without violating the exam NDA.

    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: Kill sessions before restore command

    ALTER DATABASE [Test_db]

    SET OFFLINE

    WITH ROLLBACK IMMEDIATE

    Kicks everyone out and takes the database offline. Then you can restore over without worrying if there's anyone connected.

    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: What will happen to the view and the table in such scenario

    Hemalatha (3/12/2009)


    If I have a table A, that has a primary key which is not being referenced to any other table, and I have a view V created on A.

    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: SQL Performance

    Depends. If the static and non-static can be on the same page, yes.

    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 on more than 900 bytes

    barcode (3/12/2009)


    ...and you're from South Africa - me too! I'm impressed.

    Whereabouts? If JHB, there's a usergroup meeting next week tuesday. Interested? (details on my blog)

    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 on more than 900 bytes

    Chirag (3/12/2009)


    Do you mean to say u put indexes on the columns and the query worked better?

    He's talking about a different problem that I advised him on yesterday.

    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: 32Bit or 64Bit?

    Glenn Dorling (3/11/2009)


    We've had no experience of SQL Server on "true" 64-bit (ie. Itanium) servers. The theory is still that the different "bitness" of the SQL Server engine is...

    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 2005 Missing Indexes

    Those are 3 distinct indexes, they can't be merged into one. (Difference leading columns)

    Just check in a dev environment that they are actually useful before you go creating them on...

    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: Triggers

    arun.sas (3/12/2009)


    Is same works in 2k? If no means, how these handle by other way in 2k?

    No. DDL triggers are SQL 2005 and higher.

    To prevent people dropping tables, don't give...

    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 on more than 900 bytes

    An index is not going to help you there. All of those LIKEs have leading wildcards. An index seek is not possible when there's a leading wildcard. That query will...

    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 out if the value in table was modified using SSMS.

    Host_name is the machine name.

    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: Index Fragmentation/Identity Property

    Just bear in mind that by setting a fill factor to 75%, your table is now taking a fair bit more pages. This means more space on disk, more space...

    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 make this any faster

    tfifield (3/11/2009)


    P.S. Be wary of the NOLOCK. I actually had a report that would periodically return 2 rows instead of 1 for an item in a high transaction...

    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: prevent clients to retrieve information_schema and sys metadata

    SQL 2000 or SQL 2005?

    This is the 2005 forum, but you mentioned SQL 2000. Which is it?

    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: calculating index size

    There's also the row header, the null bitmap and the variable column offset to take into account. If the clustered index is not unique, you also have a hidden 4...

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