Forum Replies Created

Viewing 15 posts - 361 through 375 (of 392 total)

  • RE: The T-SQL Paradigm

    But, done properly, make the query rather self documenting.

    No. NO!!! NO!!!! The table name itself is the most accurate representation of what's being joined. ...

  • RE: The T-SQL Paradigm

    When you go to a toolbox, not the one in your IDE but a real one that holds a wrench, hammer, screwdriver and the like, do you pick up the...

  • RE: The T-SQL Paradigm

    katedgrt (4/3/2009)


    Grow up and learn that different is not always bad and new is not always better. I mean there is a point to keeping up your skills and...

  • RE: The T-SQL Paradigm

    Jason Miller (4/3/2009)


    I guess I'm strange, I prefer an language/environment where explicit definitions are required.

    I couldn't agree more. While it may be a pain to type in the "extra"...

  • RE: The T-SQL Paradigm

    I think it all comes down to a paradigm. Folks who spend most of their time in an object-oriented environment tend to think in those terms. The same...

  • RE: Are We Wasting Too Much Time Social Networking?

    My dad always told me that too much of anything, even a good thing, can be bad for you. I can't think of any example that is more applicable...

  • RE: Database conversion script needs to execute other scripts

    It's about 25 UDF/SP files and the dependencies are not always direct. While I really wanted to have a "click it and forget it" approach, I just may have...

  • RE: Database conversion script needs to execute other scripts

    That allows one to execute a SQL file from a .BAT file (requiring a connection to the database for each file), but what about within an existing SQL file that...

  • RE: Polymorphed Proc

    J (3/17/2009)


    I strongly object to such obfuscated programming. How many beginners who subscribed to this forum could be misled into thinking "wow ! clever trick I've got to find an...

  • RE: Polymorphed Proc

    I agree with the earlier statement that the choice of a procedure named "GO" was a red herring. That has NOTHING to do with the GO separator. The procedure...

  • RE: Table function execution speed

    I think you're getting those scans because of the ISNULL clauses. You could try an OR where you check for each of the values independently, but that still might not...

  • RE: Table function execution speed

    The ad-hoc query shows an estimated 697 rows from the att_patient table, while the function shows just 1. Which sounds more correct?

    The 697 is more correct. Dave posted the...

  • RE: Table function execution speed

    Thanks for the explanation. Apparently, recalculating the statistics did wonders. The function executes now!! :w00t:

    Still, I'm going to investigate the index issue. While SourceID is indeed on...

  • RE: Table function execution speed

    I can certainly see your concern about this:

    WHERE R.MedGroupID = ISNULL(@MedGroupID, R.MedGroupID)

    But I'm not sure what else I can do to allow the MedGroupID to be specified yet if it's...

  • RE: Table function execution speed

    The commented lines are what I used to change it from an inline UDF to a multi-line UDF. You're correct in that it did not solve the problem, so...

Viewing 15 posts - 361 through 375 (of 392 total)