Forum Replies Created

Viewing 15 posts - 39,901 through 39,915 (of 49,552 total)

  • RE: Reference 'Deleted' table: Dynamic SQL

    rodney.williams (4/7/2009)


    I did receive the 1 row(s) was affected message.

    That wouldn't have been from the trigger. Because NOCOUNT is on, it won't return the n rows affected message.

    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: Best way to strip time from datetime stamp.

    Michael Valentine Jones (4/7/2009)


    I would avoid using FLOOR method for the simple reason that it is an unsupported method that depends on knowledge of the internal format of the DATETIME...

    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: Multiple Indexes on the Same Columns

    Well, multiple redundant indexes give you no additional read benefit over having just one index, however when the data is changed all of those indexes have to be updated.

    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: Best way to strip time from datetime stamp.

    http://sqlinthewild.co.za/index.php/2008/09/04/comparing-date-truncations/

    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 backup fails on sql server 2005

    Sometime between 7am and 8am there's a job running that either switches the DB to simple recovery and back to full or executes a BACKUP LOG ... WITH TRUNCATE ONLY.

    My...

    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: Just Walk Away - Blacklisting - and Twits without Twitter

    Jeff Moden (4/7/2009)


    I sometimes have a similar problem with age... most young folks look at my white beard and chuckle about what Santa Clause might know about databases.

    Similar...

    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: MCITP SQL 2008 DBA

    It's multiple choice, but some of the questions are so long that they're almost case studies by themselves.

    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: MCITP SQL 2008 DBA

    You do need to be familiar with the new 2008 features. Whether Transcender's good enough, I can't say. Never seen their test exam.

    Check the requirements list on the MS website...

    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: Reference 'Deleted' table: Dynamic SQL

    Here you go. This will work no matter whether you update one row or one thousand rows.

    I don't know how well unpivot works on larger row sets, but 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: Index tuning

    It has to be done by an admin. Use the Report button and request that the thread be moved.

    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 write this SELECT better

    So you do need a join between users and usersubscriptions, which you did not have in your initial query and which my rewritten one did.

    Still, you know the data, you...

    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 tuning

    There was no need to repost the question in this case. I have requested that the other one be moved to the 2000 forums.

    No replies to this thread please, direct...

    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: Persistent index fragmentation

    Because of the way page allocations are done for very small indexes, they will almost always be fragmented. It's nothing to worry about, fragmentation is only a concern when you're...

    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: Query Doubts

    Sure. Look at the join conditions and look for cases where two (or more) tables aren't related to each other in any way. Take this as an example

    SELECT * FROM

    ...

    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: Reference 'Deleted' table: Dynamic SQL

    What's the primary key of the Employee table?

    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 - 39,901 through 39,915 (of 49,552 total)