Forum Replies Created

Viewing 15 posts - 57,031 through 57,045 (of 59,067 total)

  • RE: Logic to determine Gender based on FirstName

    Shoot.... in this day an age of supposed equal opportunity, why would you need to know?  Might even be against the law if it's for college admissions, for example...

    --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: Insert #Temp Exec Server.Master.dbo.xp_fixeddrives

    The column names in the #Drives table must be the same as those returned by the xp.  You have FreeMB as one of the column names... you need to either...

    --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: Creating fixed-length tables

    You might be able to do the count thing with a RowNum IDENTITY column... have the trigger delete...

    WHERE RowNum < IDENT_CURRENT('table_name')-49

    --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: Parse delimited column into multiple records

    Stef,

    These types of problems are incredibly simple if you have the right kind of tools.  Fortunately, there is one tool that has tremendous utility as just such a tool.  It...

    --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 - 57,031 through 57,045 (of 59,067 total)