Forum Replies Created

Viewing 15 posts - 27,511 through 27,525 (of 49,552 total)

  • RE: Primary Key fields as an Included Columns in a Composite Index

    [Jim].[dba].[Murphy] (3/8/2011)


    Right, the PK is already included in every NCI in a table with a clustered index, so the include is not needed/desired.

    The clustered index key columns are included in...

    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: Primary Key fields as an Included Columns in a Composite Index

    Sure. Why would it not?

    SQL's not stupid enough to add them twice if you explicitly specify them. Also, what happens if the clustered index is moved?

    btw, it's the clustered...

    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: Recovery model in SQL Server 2005

    [Jim].[dba].[Murphy] (3/8/2011)


    Bulk log does not retain tlog history for certain bulk data modifications, like a reindex (and other cases). It does keep the full history for all non-bulk activity.

    Er,...

    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: Recovery model in SQL Server 2005

    May I suggest you read up on logging in Books Online?

    Short answer: Every data change is logged. In both simple and bulk-logged recovery models, operations that qualify for minimal logging...

    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: DR solution..Pls respond

    GSquared (3/8/2011)


    I seriously recommend hiring a contractor who specializes in disaster prep and recovery and going over business needs, etc., with that person. It'll take some time and some...

    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 protect MDF & LDF file from copy ?

    Short answer: you can't.

    If you are putting the database on the client's server then their DBAs have full control. On SQL 2008 you could use TDE, but that would...

    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 can i encrypt database on client machine ?

    Short answer: You can't.

    If you are putting a database onto a client's machine, then their sysadmins can do anything to that database and there is no way you can prevent...

    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: When to do Index Creation

    If you're talking a nonclustered index, typically approach 2. If you're talking a clustered index, it depends, I've seen both approaches work.

    Best bet, try both, compare execution time, IOs, CPU...

    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 2008 for biggners

    soufya91 (3/8/2011)


    i know the languages but infact i cannot organize gradually build it

    Sorry, don't understand what you're saying.

    I also don't understand what you're looking for. Development or administration? Designing...

    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 2008 for biggners

    soufya91 (3/8/2011)


    please don't suggest me to read tutorials i want some one to be my teacher

    How much are you willing to pay for teacher? Please remember we're all volunteers here,...

    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: Procedure Cache issue ?

    http://sqlinthewild.co.za/index.php/2007/11/27/parameter-sniffing/

    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: When your certification expires, do you have to take it off your sig?

    Microsoft isn't exactly going to send someone after you if you specify an old cert on a resume...

    Certs don't expire, they just become inactive

    I hold MCSD for Visual Studio 6....

    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 Indexes - Need some advice

    Rich Yarger (3/7/2011)


    2. I actually did convert one of this reports with JOINS instead of the old school coding, but then one of my instructors told me that it wasn't...

    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 Indexes - Need some advice

    Step 1: shoot your developers (self defence) :hehe: It's near impossible to do effective indexing when all queries are select *

    Step 2: Show the reporting guy how to do...

    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 Indexes - Need some advice

    None of the above. You need to create indexes that support the queries. Only time an index with 12 columns is useful for a bunch of queries is if all...

    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 - 27,511 through 27,525 (of 49,552 total)