Forum Replies Created

Viewing 15 posts - 4,816 through 4,830 (of 5,394 total)

  • RE: Help to optimize inner join

    I don't know which indexes get scanned. I suggest you read Gail Shaw's article on how to post performance problems:

    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Anyway I guess you get the scans from the OR...

  • RE: Are the posted questions getting worse?

    I know that some of the "Threadites" already chimed in, so I'm saying this for all the others: you really have to read Lynn's latest article[/url] and the discussion.

    Awesome...

  • RE: The Dynamic Tally or Numbers Table

    Excellent article, Lynn!

    I'll make sure to include your oustanding UDF in my dev/production environment. I already have one that does the same thing, in a while loop :blush:.

    Thanks for...

  • RE: Moving Day

    Peter E. Kierstead (9/18/2009)


    Wow... you guys are extremely caustic... its a wonder any bother to post here anymore. I made a simple comment regarding how we use a facility. Take...

  • RE: exec stored proc inside a function

    If you just want to query the stored procedure results, leave the function alone, way too complicated.

    You could set up a loopback linked server (ilnked server pointing to the server...

  • RE: help writing query

    This should work for you, working with joins as you requested.

    Consider using Florian's solution too, depending on the execution plan.

    SELECT t1.*

    FROM #test t1

    LEFT JOIN #test t2

    ...

  • RE: Table containing SQL statements - can this be done?

    I understand what you're trying to do, but there's no way to achieve it that way.

    You will have to build a sql query in a variable and execute it with...

  • RE: Deleting Large Number of Records

    Sorry for double posting, looks like the site has some issues.

    It says an error has occurred, but the post is added.

  • RE: Compare records between table

    SELECT *

    FROM

    WHERE valuedate '20070731'

    and valuedate '20070724'

  • RE: Compare records between table

    SELECT *

    FROM

    WHERE valuedate '20070731'

    and valuedate '20070724'

  • RE: Deleting Large Number of Records

    Tore Bostrup-382308 (9/16/2009)


    Interesting article. I took a slightly different approach when needing to delete almost 99.5% of rows from two tables with a total of 200 million rows between...

  • RE: Deleting Large Number of Records

    Tore Bostrup-382308 (9/16/2009)


    Interesting article. I took a slightly different approach when needing to delete almost 99.5% of rows from two tables with a total of 200 million rows between...

  • RE: Moving Day

    rja.carnegie (9/17/2009)


    On the other hand, if junk objects aren't 90% of database size, how about leaving them alone because they aren't doing much harm. You aren't paid to be...

  • RE: Moving Day

    rja.carnegie (9/17/2009)


    So how about the "Schema of Limited Life Expectancy" idea?

    That's what I do. After 6 months in the 'drop candidates' schema, the object is dropped.

  • RE: Moving Day

    Nope: it's modeled on my dev env, that means two databases, app code, reports.

    It works for me, it won't work for you...

    The thing I want to stress here is that...

Viewing 15 posts - 4,816 through 4,830 (of 5,394 total)