Forum Replies Created

Viewing 15 posts - 4,786 through 4,800 (of 8,731 total)

  • RE: Are the posted questions getting worse?

    OMG, I forgot that 24 hours of PASS started today!

  • RE: Tuning SQL Server query

    Minaz Amin (6/23/2015)


    Thanks for replying back now, I am going to optimize the code as suggested and update the group.

    Do you realize that you still have performance issues that are...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (6/23/2015)


    SQLBill (6/23/2015)


    Brandie Tarvin (6/23/2015)


    So I know it's dirty pool to promote one's own blog on the forums, but in this case, I absolutely MUST show off.

    Click it and...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (6/23/2015)


    I'm beginning to wonder if Celko knows that we can't see the posts he is writing? Nothing like getting an email saying he responded to a thread...

  • RE: Writing Better T-SQL: Top-Down Design May Not be the Best Choice – Part II

    craig 81366 (6/23/2015)


    If the number of rows returned by each view is different, then they are not functionally equivalent.

    And this renders discussion about relative performance largely moot.

    I would be far...

  • RE: executing a cte

    I don't know Steve. For instance, I don't like to filter using joins as it won't make the intention evident. On the other side, I believe that you would be...

  • RE: Recursive CTE on inline table valued function

    You're right, a CTE is a very fast way to generate a sequence of numbers. However, a recusive CTE is a very slow approach to get it. Jeff Moden wrote...

  • RE: Execute SQL Task using Expression throws error during run time randomly

    Instead of creating an expression, I would create a variable and maybe make sure that it has been correctly populated before using it in a SQL Task.

  • RE: Splitting Column Value While Keeping Existing Data

    For multiple postcodes (or any other value) stored in a single column, you could use the DelimitedSplit8k which you can find in the following article that explains how it works....

  • RE: Recursive CTE on inline table valued function

    Why do you need a recursive CTE with more than 100 recursions? That's a key to bad performance or an indication of a flaw in your design or data.

  • RE: Any idea why this is slow

    mw112009 (6/22/2015)


    Select @sbp_mbp= [RESEARCH].[dbo].[determine_num_of_mins_exceed_5_where_SBP_MAP_is_less_than_a_certain_value]('12345');

    --This gets executed within a few seconds

    I made some emphasis on a phrase because it can tell you what's wrong.

    Imagine that few seconds mean 2 seconds....

  • RE: Compare String

    You might not have that value in your table or maybe you're not really comparing to that value

    The following code might give you ideas to look for.

    CREATE TABLE #GLCode_DATA

    (

    ...

  • RE: Compare String

    meerack11 (6/19/2015)


    AI had use = and like but it doent work

    Doesn't work? What do you mean? An error? Incorrect results?

    What was the input? What does the data look like?...

  • RE: Compare String

    What's the problem with space and slash? Those are just characters as any other in a string.

    is there any way without string function? bcz string function take more exaction time

    Do...

  • RE: Trying to use T-SQL to calculate elapsed time

    cstg85 (6/19/2015)


    Imex, thank you for the quick response. I attempted to use your method in my query and it didn't seem to gel well. It works good on its own...

Viewing 15 posts - 4,786 through 4,800 (of 8,731 total)