Forum Replies Created

Viewing 15 posts - 5,221 through 5,235 (of 5,502 total)

  • RE: HOW TO OPTIMEZES THE QUERY

    Ok, you told us the number and size of the tables you're using. You also provided almost 200 lines of code.

    What exactly is your question / expectation?

    Also, since this looks...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    I hope I didn't scare away the newbie on this thread with my Tally table joke... But I HAD to do it... :hehe:



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: T-SQL Query with calendar table

    Please have a look at Jeff's Tally table article[/url].

    At the very end of the article, shortly before the conclusion paragraph, you'll find a short and efficient example of making a...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: XML Record set

    Hi Rohit,

    as already mentioned by Wayne you should let us know what your expected result looks like. It will help us to help you. Otherwise you'll get results that might...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    GilaMonster (6/22/2009)


    Anyone want to take a stab at 800+ lines of cursor-ridden, mostly uncommented code?

    http://www.sqlservercentral.com/Forums/FindPost739170.aspx

    I'll take the fact of less points on my side than him as an excuse to...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    Jeff Moden (6/22/2009)


    ... The first high velocity pork chop in a 32 course meal has just been fired about that. ...

    I was on my way to provide an "alternative"...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Help with SQL algorithm to process transactions

    Paul White (6/22/2009)


    Very nice Lutz; I believe we should now call you a 'SQL Master' 😉

    Well done.

    Paul

    Objection, Your Honor! One dove doesn't make a summer.;-)

    But thanx for the flowers! 🙂



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Very Very URGENT..pleaseeeeee

    SELECT LEFT(acct_id,1) + '000' + RIGHT(acct_id,3),

    email_alert_stub,

    email,

    ROW_NUMBER() OVER(ORDER BY email DESC) AS seq

    FROM TEST



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Help with SQL algorithm to process transactions

    Attached please find a solution based on

    Jeff's article[/url].

    I had to make some changes to your sample data:

    1) I changed @transaction to a temp table #transaction in order...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    Paul White (6/21/2009)


    'lmu92' sent me a few PMs about it!

    Paul

    @paul-2: The PM's I sent you just made one thing clear to me: I'm addicted to SSC. I stared...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Help with SQL algorithm to process transactions

    I'm just waiting for the clarification regarding the handling of 'partial transaction'.

    Other than that, the code is ready to post.

    Even if I might get it right I wouldn't consider myself...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    For our non-German fellows: Duden has nothing to do with "Dude", it actually is a dictionary that contains all the words that are supposed to be part of the German...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: Are the posted questions getting worse?

    As another German around I'd have to -slightly- disagree with Flo.

    "GUI" actually is not really German (Graphical User Interface, right?) 😀

    So it would be something like "Bildlicher-Benutzer-Oberflaechen-Unsinn", or "BBO-Quatsch". whereas...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: How do I frame this query

    It seems like you've decided not to follow the article I referred to, since the way you provided sample data is named "The Wrong Way to Post Data".

    Also, please take...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

  • RE: How do I frame this query

    Please see the link in my signature on how to post sample data.

    Considering your number of visits, I'd expect you to know how to ask question that get fast answers.

    You...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]

Viewing 15 posts - 5,221 through 5,235 (of 5,502 total)