Viewing 15 posts - 3,751 through 3,765 (of 4,081 total)
Bruce:
Yeah, I see the problem. You need a row number or some other unique identifier(s) to tie them together, and if you don't have that in...
February 10, 2009 at 3:56 pm
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...
February 10, 2009 at 3:08 pm
1. Bruce is absolutely right. If possible, rethink this whole idea of writing the code on the fly in your UI. That approach will...
February 10, 2009 at 3:02 pm
You're very welcome. I just hope they are the right cust_ids 😉
February 10, 2009 at 2:35 pm
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,...
February 10, 2009 at 1:43 pm
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...
February 10, 2009 at 1:07 pm
Bruce, I would guess not, since noeld asked that question earlier. But the question bears repeating.
February 10, 2009 at 12:35 pm
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...
February 10, 2009 at 12:23 pm
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...
February 10, 2009 at 11:32 am
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,...
February 10, 2009 at 10:52 am
So are we ever going to see the mysterious INSERT statement or not? 😉
I'll read the article, but the fact remains that...
February 10, 2009 at 10:24 am
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...
February 10, 2009 at 10:13 am
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...
February 10, 2009 at 9:37 am
Viewing 15 posts - 3,751 through 3,765 (of 4,081 total)