Forum Replies Created

Viewing 15 posts - 3,751 through 3,765 (of 4,080 total)

  • RE: Data Insertion very slow (91k rows)

    Bruce, check out the OUTPUT clause to an INSERT. You can trap ALL the recently generated IDs from the mass INSERT, not just the last one, into...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Data Insertion very slow (91k rows)

    1. Bruce is absolutely right. If possible, rethink this whole idea of writing the code on the fly in your UI. That approach will...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Quick way to assign incremented CUST_ID's

    You're very welcome. I just hope they are the right cust_ids 😉

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    GSquared (2/10/2009)


    To add to what Bob wrote, harming the organization harms their customers and employees as well.

    Absolutely! I've never had a problem seeing the harm to people,...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    Not only that Roy, but I've seen questions on here that read something like this:

    "I've just deleted some huge, important tables and I haven't been doing backups. How...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: T-SQL

    leslaw (2/10/2009)


    All tables should have primary key, so it should also be created.

    Leslaw

    Cardinal Moden will call me a heretic, yet I beg to differ with respect to the word "ALL"....

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Data Insertion very slow (91k rows)

    Bruce, I would guess not, since noeld asked that question earlier. But the question bears repeating.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Quick way to assign incremented CUST_ID's

    Looks good to me, if it looks good to you. 😀

    The tally table was totally unnecessary to the solution, but I included the article reference in case anyone...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: T-SQL

    I started out in Hugo's camp. I'm always glad to have learned a new function, but one thing I can't get away from is that, in the...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    This is why I think interview questions should just go unanswered, even deleted. There's no telling how much damage is done to companies that are foolish enough...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Data Insertion very slow (91k rows)

    Milan... I don't see a UNION ALL.

    It doesn't matter if all the lines are being generated by the user interface at one time or not,...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Data Insertion very slow (91k rows)

    So are we ever going to see the mysterious INSERT statement or not? 😉

    I'll read the article, but the fact remains that...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Quick way to assign incremented CUST_ID's

    Yes it can.

    This solution doesn't involve a tally table, I just used it to set up the test data. But if you don't have one look...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Data Insertion very slow (91k rows)

    I don't see anything odd about your schema at first glance.

    Do you have indexes on the columns used as foreign keys?

    Does the asp.net code generate an INSERT statement for each...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Are the posted questions getting worse?

    I may have to try some of those on Joseph (*URGENT*URGENT*URGENT*) Tran.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

Viewing 15 posts - 3,751 through 3,765 (of 4,080 total)