Forum Replies Created

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

  • RE: Multiple OUTER JOIN query is slow

    LutzM (7/10/2011)


    ... They take arbitrary length strings - is there a problem with a UDF doing the same?

    Have a look at this link[/url]. there seems to be a significant...

  • RE: Multiple OUTER JOIN query is slow

    Jeffrey Williams-493691 (7/9/2011)


    In addition to all of the advice given so far - you really need to look at how you are using those functions. Scalar functions are notoriously...

  • RE: Multiple OUTER JOIN query is slow

    LutzM (7/9/2011)


    Here's what I would do:

    Step 1: fix the data type used in / returned by the functions involved (e.g. [fnsFormatAkcesit] will never exceed 17 byte, therefore the data type...

  • RE: Multiple OUTER JOIN query is slow

    GilaMonster (7/9/2011)


    pdanes2 (7/9/2011)


    How do YOU deal with possible overflows of text input? Same logic in the front-end as in the database? Wait for the DB to throw an error?

    Validation in...

  • RE: Multiple OUTER JOIN query is slow

    LutzM (7/9/2011)


    As you noticed, SQLServerCentral (or SSC) is slightly different than most of the other db forums. It's more a community, not just a forum. Therefore, we prefer to clarify...

  • RE: Multiple OUTER JOIN query is slow

    GilaMonster (7/9/2011)


    Regardless (and I'm going to be very blunt here), the use frequent of the MAX data types is an indication of poor database design.

    No stress, I'm not sensitive. Senseless...

  • RE: Multiple OUTER JOIN query is slow

    LutzM (7/9/2011)


    Ok, first off, thanks for sticking around. I've run into people in forums and newsgroups who get offended when I don't accept their blank statements as gospel. They make...

  • RE: Multiple OUTER JOIN query is slow

    LutzM (7/8/2011)


    but where do I draw the line? 20? 50? 100? Inevitably, someone will want 101 or 102. Putting a firm number seems to me to indicate some real, defined...

  • RE: Multiple OUTER JOIN query is slow

    LutzM (7/7/2011)


    I'd start at the very beginning:

    The massive use of VARCHAR(MAX) seems to be oversized from my point of view. Not only within the functions, but also within the table...

  • RE: Multiple OUTER JOIN query is slow

    Nevyn (7/7/2011)


    My first instinct would be to create a nonclustered index on EvidenceLetter in Podrobnosti, and then populate the form using a stored procedure that takes EvidenceLetter as input and...

  • RE: “SELECT 1? rather than a “SELECT *” when using an EXISTS or a NOT EXISTS clause”.

    My two cents worth: I use 'SELECT Null FROM ...' when using an EXISTS clause. As Gail has pointed out, the speed difference is probably trivial at best, more likely...

  • RE: Schemabinding when tables in development

    Sounds like something I should learn to use. The organization of scripts into packages seems to be an important factor - THIS table is changed, so THOSE scripts need to...

  • RE: Schemabinding when tables in development

    weitzera (1/20/2011)


    Two things you may find helpful are to separate your prod and test environments, and to modify your database objects through scripts rather than through SSMS.

    I do have separate...

  • RE: Index ordering?

    pdanes2 (1/17/2011)


    You've lost me here. Do you mean when the query contains a WHERE clause, it would hunt through the index more efficiently?

    No, I'm saying that since there's no...

  • RE: Unable to delete or edit

    Grant Fritchey (1/17/2011)


    GilaMonster (1/17/2011)


    pdanes2 (1/17/2011)


    "It doesn't work" gets little sympathy in these forums

    No, because it's near-impossible to offer useful advice for that. When we have some indication what's not working,...

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