Forum Replies Created

Viewing 15 posts - 53,701 through 53,715 (of 59,065 total)

  • RE: Hidden RBAR: Triangular Joins

    Jason Selburg (12/6/2007)


    Jeff Moden (12/5/2007)


    ....... I finally got 2k5 and will have to load it before comparing the methods to the RANK methods for running counts performance wise.

    Well it's about...

  • RE: Hidden RBAR: Triangular Joins

    Heh... that makes a pretty cool sounding acronymn, too... "SbS" 😀

  • RE: Hidden RBAR: Triangular Joins

    "Interesting, but where's the hint as to how to avoid/mitigate the problem?"...

    In case you're interested, a simplified explanation of problem is invoices that get queries raised.

    Yeaup.... that's...

  • RE: Hidden RBAR: Triangular Joins

    Hi Jeff,

    thanks for this article.

    A solution to this problem is to use procedural code (at least for SQL2K).

    Probably not the intention of the author... 😀

    Thanks for the feedback and...

  • RE: Hidden RBAR: Triangular Joins

    Heh... lost leader for one or two articles coming up... forgot to mention that in the article... sorry about that.

  • RE: BCP Errror while loading file

    Does 1.txt exist in the same directory as where you are running the command from? You'd be better off using a full path name or, if not on the...

  • RE: Using data sources - Best Practise

    I'd recommend a separate process to go get the data instead of trying to do reporting through a linked server. Setup a staging area to hold the data locally/temporarily.

  • RE: SQL for numeric ranges

    It's easier to find missing ID's... this test code shows you how... last paragraph of code is the code that does the work... everything else is just test setup...

    --===== Setup...

  • RE: MS SQL server export problem

    Go into Enterprise Manager and using the Import/Export capabilites of "Data Transformation Services" to copy the tables with or without data. Will give you the opportunity to copy keys,...

  • RE: Rename a column

    Unless you're using it to make a wholesale change to all the tables in a database, renaming columns in a proc is usually a bad idea...

    ... why are you renaming...

  • RE: Executing Stored Procedure with data time column

    The problem is that you should not use parenthesis around parameters for stored procedures. 😉

  • RE: Query slows down during the day

    After taking a longer look at this, you could turn it into a stored proc and pass parameters.

  • RE: Query slows down during the day

    Of course it'll slow down during the day... more locks present on the tables and the query must create an execution plan each time the app generates the code... it's...

  • RE: Temp Table Comparison SQL

    Ya beat me to it, Ramesh!

  • RE: Issues in Optimization

    Keep in mind that both the estimated and actual execution plans can lie like a rug... if you have any form of a loop in your code or, sometimes, a...

Viewing 15 posts - 53,701 through 53,715 (of 59,065 total)