Forum Replies Created

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

  • RE: Are the posted questions getting worse?

    jasona.work (6/24/2015)


    Why, oh why does it have to be such a nice day out, and me stuck here at work...

    I've gone for a walk around the campus to try to...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • RE: Are the posted questions getting worse?

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

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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....

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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....

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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

    (

    ...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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?...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • 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...

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2

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