Forum Replies Created

Viewing 15 posts - 16 through 30 (of 36 total)

  • RE: More Triggers

    Triggers, in my experience, are best used sparingly and with careful forethought. Triggers that reference other database objects add complexity to query plans.

    I worked on a system (in DB2) that...

  • RE: COALESCE Vs ISNULL

    I think this difference in behavior may have something to do with the fact that the construction we're all so used to in SQL Server

    SELECT (some thing or expression)

    is...

  • RE: Calculating Moving Averages with T-SQL

    This is one of the best articles I have read in a long time. Excellent work.

  • RE: Convert String to a Table using CTE

    I called mine the 'Integers' table. Because it's a table of INTs. Also, I used to write code for the lumber industry, where 'Tally' has a specific meaning.

  • RE: Get Rid of Duplicates!

    I think I'm with Tony Scott on this one: why not prevent the issue at insert time, rather than go through all the pain of removing duplicates after the fact?

  • RE: Index Primer - Just what statistics are kept?

    rbramhall (10/28/2009)


    The problem is that whenever I update the product mix, I'm deleting/updating/inserting up to 2.5M rows in the 83M row table at a time. We threw lots of hardware...

  • RE: Index Primer - Just what statistics are kept?

    Great article. It discusses index stats in just enough detail to make things clear without bogging down.

  • RE: Comparing Table Variables with Temporary Tables

    It would be interesting to do some testing to see at what point the cost of the recomplications outweighs the overhead of #temp tables.

    I'm taking Kalen Delaney's course in two...

  • RE: Comparing Table Variables with Temporary Tables

    Damn good article. I knew that table variables didn't have stats computed for them, but I hadn't fully considered the implications of that.

    One point which your article doesn't make explicitly...

  • RE: Stored procedure recompile is very slow

    michael ham (3/8/2009)


    we have a stored procedure that is periodically causing performance issues. When the procedure is flagged for recompile, it takes 3 - 4 minutes to compile. ...

  • RE: Finding most heavily read tables

    Well, I feel a bit better. I spent a lot of time digging and couldn't find anything. I'll post the same question on usenet and see if any of the...

  • RE: Urgent : Sql server db tuning

    GilaMonster (3/8/2009)


    Dean Cochrane (3/8/2009)


    The correct solution to your problem is not to beat SQL Server into tortured subservience, it is to rewrite the bad code into good code.

    😎 May I...

  • RE: Urgent : Sql server db tuning

    musheik (3/8/2009)


    Thanks you all, for your valuable suggestions. i am concluding that with sql server we will be slower than Oracle,And we cant do much modifications with sql server...

  • RE: Inserting to an error log

    Of course. I should have thought of that. Thanks.

  • RE: Guest Editorial: On writing SQL

    Phil Factor (12/12/2008)


    You sit down at the keyboard and you say to yourself, How in the blazes am I going to test this routine I haven't yet written? Once...

Viewing 15 posts - 16 through 30 (of 36 total)