Forum Replies Created

Viewing 15 posts - 27,946 through 27,960 (of 59,101 total)

  • RE: Update Gaps

    dwain.c (12/6/2012)


    Jeff Moden (12/6/2012)


    I don't believe the following won't be quite as fast as a Quirky Update...

    Easy for you to say...

    Heh... suffering from a NEC (Not Enough Coffee) problem on...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: List of Database Naming Convention Decision Points

    Karl Kieninger (12/5/2012)


    1.Use of Hungarian (prefix or suffix) for object names ("tibbling")

    2.Pluralizing of tables

    3.Abbreviating and standard abbreviations ("abrvtng")

    4.Use or avoidance of [Escaping]

    5.Indication word boundaries (pascal, camel, _, etc.)

    6.Capitalization scheme

    7.Key...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Update Gaps

    I don't know what others call this type of problem but I call them "data smears" because it's like you smearing strips of color down from one wet paint spot...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Server Hangs

    jabinc (12/6/2012)


    MasterDB (12/6/2012)


    Your Windows Machine is 32-bit or 64-bit.

    If 32-bit, Please Enable AWE. For 64-bit machines it is auto enabled.

    If possible, increase the Virtual memory on your machine.

    its a 64...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Made stupid mistake, need help removing duplicates

    Now wait just a minute. Are you saying that, with the exception of the date/time column, that you'd need every column to determine if a row is a duplicate?

    I'm...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Exercises in t-SQL

    patrickmcginnis59 (12/6/2012)


    Jeff Moden (12/6/2012)


    patrickmcginnis59 (12/6/2012)


    Jeff Moden (12/4/2012)


    So far as no offer being extended, that's fine because I don't want to work for a company that wants a code monkey.

    I'll...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: An alternative to split for performance benefits?

    Rob-350472 (12/6/2012)


    I'd have to review the split function you linked to - I opened it and had a quick look but I've not had the time to read it yet.

    As...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Query to find the start day of the week as Monday

    Lynn Pettis (12/5/2012)


    I know you weren't challenging me, that is part of the problem with text based communication, you miss out on tone of voice and body language for thos...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Solve Problems Using Recursive CTE

    bj_shenglong (12/6/2012)


    I put the date into the query to make the Island query similar to the last query you posted. That query will only report the first consecutive month...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: xp_cmdshell works and then doesn't work

    mike_macairan (12/6/2012)


    It's not that files are being moved. The way this happens is, I open Management Studio, open a query window, type:

    exec xp_cmdshell 'Dir C:\'

    and execute it.

    I...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Exercises in t-SQL

    patrickmcginnis59 (12/6/2012)


    Jeff Moden (12/4/2012)


    So far as no offer being extended, that's fine because I don't want to work for a company that wants a code monkey.

    I'll take that job....

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Dynamic PIVOT CLR

    Eric Wahner-345205 (12/6/2012)


    vopipari (12/6/2012)


    I've done this loads of time using TSQL sps and dynamic sql within, much in the same way as the CLR routine. Is there an advantage to...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Dynamic PIVOT CLR

    Good article.

    I do want to point out that dynamic pivots, especially for things like "rolling date reporting" just aren't difficult to do in SQL Server.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Your Thoughts on ORM Tools

    charlesmartinez276 (12/5/2012)


    ORM positive tools is required develop with SQL feathered.I think it is a effective a lot.:-P

    SPAM reported.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • RE: Exercises in t-SQL

    I understand where you're coming from. And, I do agree with you that it's a simple test for someone that actually does know T-SQL as well as we'd like...

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 15 posts - 27,946 through 27,960 (of 59,101 total)