Forum Replies Created

Viewing 15 posts - 24,106 through 24,120 (of 59,102 total)

  • RE: Primary Key Violation

    todd 87764 (3/20/2014)


    Already did this, as I said I triple checked and there are NO duplicate IDs and there are no nulls.

    Does the original table have a PK or UNIQUE...

    --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: Primary Key Violation

    todd 87764 (3/20/2014)


    Let me ask this... Does the process of partitioning a table add the partition key to the primary key? This is the only thing I can think...

    --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: DB2 DBA

    Absolutely outstanding, Tom. THAT's what I was looking for! Thank you very much for your time.

    If you run into a problem on SQL Server, throw a rock at...

    --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: SSIS Load Balancing??

    sqlbuddy123 (3/20/2014)


    Jeff Moden (3/20/2014)


    sqlbuddy123 (3/19/2014)


    MyDoggieJessie (3/18/2014)


    No I don't think you can tell SSIS how to do this - but if I understand you correctly (you want to throttle the SSIS...

    --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: Data Manipulation Question

    @Dwain,

    Thanks for the awesome compliments. :blush: I just aim to help. I sometimes miss but I'm always aiming. 🙂

    --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: Data Manipulation Question

    SQLSeTTeR (3/19/2014)


    Never played with CROSS Tab. Do you have an example I can play around with?

    I looked into books online but not sure if I'm looking at the right thing...

    --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: SSIS Load Balancing??

    sqlbuddy123 (3/19/2014)


    MyDoggieJessie (3/18/2014)


    No I don't think you can tell SSIS how to do this - but if I understand you correctly (you want to throttle the SSIS to do its...

    --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: 3rd Party Backup Utility Hangs

    homebrew01 (3/20/2014)


    You could contact the backup software company. Perhaps they have "retry" settings that will help if there is contention or network problems.

    That's why I like homegrown solutions. 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)

  • RE: Data Manipulation Question

    SQLSeTTeR (3/19/2014)


    I redesigned the structure. The PIVOT function helped me out. Thanks all for your input!

    Just so you know, PIVOT is typically slower than CROSS TABs.

    --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: SSIS Load Balancing??

    Dumai (3/18/2014)


    They range in the amount of time they take from seconds to a couple of days.

    Gosh... a "couple of days"??? :blink: There's something [font="Arial Black"]really [/font]wrong there....

    --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: TEMPDB on RAM

    jeffrey yao (3/19/2014)


    Jeff Moden (3/19/2014)


    jeffrey yao (3/19/2014)


    "putting lipstick on a pig", haha.. LOL, very well said Kurt.

    Indeed, throwing more resources (hardware or better technology, like upgrading from standard 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: 3rd Party Backup Utility Hangs

    Welsh Corgi (3/19/2014)


    I have an Network Administrator running a 3rd Party Backup Utility on an instance of SQL Server.

    On one instance the 3rd party Backups are hanging. Everything is fine...

    --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: Fast inserting\reading\deleting of millions of records

    darren_ferris (3/19/2014)


    This causes more of an issue with the underlying stored procedures and the maintenance of them as we have to use lots of dynamic SQL that becomes difficult 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: Data Manipulation Question

    masoudk1990 (3/18/2014)


    I prefer to write this kind of queries with this technique:

    Select

    (SELECT DOB FROM [Table] WHERE DOB IS NOT NULL) AS DOB,

    (SELECT LNAME FROM [Table] WHERE LNAME IS...

    --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: TEMPDB on RAM

    jeffrey yao (3/19/2014)


    "putting lipstick on a pig", haha.. LOL, very well said Kurt.

    Indeed, throwing more resources (hardware or better technology, like upgrading from standard to enterprise edition) is usually...

    --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 - 24,106 through 24,120 (of 59,102 total)