Forum Replies Created

Viewing 15 posts - 226 through 240 (of 859 total)

  • RE: Update sortorder column to +1

    kaushal_shah26 (8/1/2012)


    capn.hector (8/1/2012)


    i have a couple of things in mind but i think the OP is looking for an UPDATE statement. the question i have is that i cant...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Update sortorder column to +1

    i have a couple of things in mind but i think the OP is looking for an UPDATE statement. the question i have is that i cant see why...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Last three months

    gordon.davis (8/1/2012)


    Hi,

    Could you Please help me to get Output like below.

    SNLabel StartDate EndDate

    ...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Last three months

    Here is the basic format to get the first and last day of the previous 3 months.

    SELECT DATEADD (MM, DATEDIFF (mm, 0, GETDATE()) - 1 - N, 0), DATEADD (MM,...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Passing conditional where clause ?

    I would look at http://www.sommarskog.se/dyn-search-2008.html as it describes exactly what you want to do. it also offers several ways to accomplish the task which are safe from sql injection...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Today's Random Word!

    JAZZ Master (7/27/2012)


    jasona.work (7/27/2012)


    SQLRNNR (7/27/2012)


    Cliff Jones (7/27/2012)


    capn.hector (7/27/2012)


    Scott D. Jacobson (7/27/2012)


    Perry Whittle (7/27/2012)


    rhythmk (7/26/2012)


    Cliff Jones (7/26/2012)


    jasona.work (7/26/2012)


    Ray K (7/26/2012)


    crookj (7/26/2012)


    Revenant (7/26/2012)


    SQLRNNR (7/26/2012)


    opc.three (7/26/2012)


    Daniel Bowlin (7/26/2012)


    Begin

    TRY

    catch

    END CATCH

    Catch-All

    Catch 22

    Ketchikan

    Alaska

    Himalaya

    Everest

    Katmai

    Kathmandu

    Bob Seger

    Bob Saget

    Ded Bob

    BYOY

    Tequila


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Are the posted questions getting worse?

    well now in the morning im even more embarrassed at the mistake i made.

    on another note my head hurts, where is my aspirin.


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Today's Random Word!

    Scott D. Jacobson (7/27/2012)


    Perry Whittle (7/27/2012)


    rhythmk (7/26/2012)


    Cliff Jones (7/26/2012)


    jasona.work (7/26/2012)


    Ray K (7/26/2012)


    crookj (7/26/2012)


    Revenant (7/26/2012)


    SQLRNNR (7/26/2012)


    opc.three (7/26/2012)


    Daniel Bowlin (7/26/2012)


    Begin

    TRY

    catch

    END CATCH

    Catch-All

    Catch 22

    Ketchikan

    Alaska

    Himalaya

    Everest

    Katmai

    Kathmandu


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Are the posted questions getting worse?

    well no more tequila and coding late at night. just made an *** of my self.


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Are the posted questions getting worse?

    dwain.c (7/26/2012)


    capn.hector (7/26/2012)


    ------Almost pure moden splitter modified slightly to take a NVARCHAR(MAX)

    and have a cteTally big enough and eliminate the OR when calculating the start of the string-----

    ------Aaron version...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Are the posted questions getting worse?

    Ok so here is the response im planning with code. i cant account for the major difference in time. as i state i make only minor changes to...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Are the posted questions getting worse?

    Jeff Moden (7/26/2012)


    dwain.c (7/26/2012)


    capn.hector (7/26/2012)

    so now that jeff has posted his response shall the SSC Dog Pile commence??

    Good idea. I was utterly dumbstruck by his performance ranking of the...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Are the posted questions getting worse?

    Jeff Moden (7/26/2012)


    ChrisM@Work (7/26/2012)


    WayneS (7/26/2012)


    You'll might find this interesting: http://www.sqlperformance.com/2012/07/t-sql-queries/split-strings

    Very interesting. Thanks, Wayne.

    I know I enjoyed it. Gave me a chance to try out my new 4 band porkchop...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: Cannot connect to SQL Server 2008 R2 remotely

    have you configured the windows firewall to allow SQL Server traffic? I have had that issue my self.

    http://msdn.microsoft.com/en-us/library/ms175043.aspx


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

  • RE: "Restore" data for 1 customer in a multi-customer database

    SQLKnowItAll (7/26/2012)


    The ultimate goal is to allow a customer to rollback any changes. Whether it is a minute ago or a day ago. We don't want to manually...


    For faster help in answering any problems Please read How to post data/code on a forum to get the best help - Jeff Moden[/url] for the best way to ask your question.

    For performance Issues see how we like them posted here: How to Post Performance Problems - Gail Shaw[/url]

    Need to Split some strings? Jeff Moden's DelimitedSplit8K[/url]
    Jeff Moden's Cross tab and Pivots Part 1[/url]
    Jeff Moden's Cross tab and Pivots Part 2[/url]

Viewing 15 posts - 226 through 240 (of 859 total)