Viewing 15 posts - 406 through 420 (of 692 total)
If you're that concerned, perhaps you should use NUMERIC(38, 0) ... how many billions of years will that give you ?
March 23, 2005 at 3:38 pm
Vic,
Using max(colval) + 1 is probably not a good idea. If two sessions hit it simultaneously, you're going to get a collision unless you serialize access. So you...
March 23, 2005 at 12:01 pm
Thanks, Troy -- I was using a faulty example when working through the question
March 21, 2005 at 12:55 pm
Can you show why B isn't equivalent?
March 21, 2005 at 10:27 am
The Oracle behavior you're describing is implemented in SQL Server 2005 as the "Snapshot Isolation Level"... It's not available in SQL Server 2000 (which is why so many shops use...
March 18, 2005 at 10:31 am
Peter,
You've just described optimistic concurrency with the call center example -- that's pretty much how you do it! Rather than put the onus on the app not to try...
March 18, 2005 at 10:18 am
Steve,
The problem with the administrative app is, you're not going to need it until midnight the night before a major client is going to be coming in to see their...
March 18, 2005 at 9:52 am
Steve,
I respectfully disagree with you -- Pessimistic locking schemes, in my opinion, have far too many caveats -- for instance, what do you do when the user locks a row...
March 17, 2005 at 3:24 pm
I'll whine a bit.
What is the "next thing"? Next after what? We don't know what the FIRST THING was! That said, I'm a great guesser and did...
March 17, 2005 at 1:44 pm
Any of these answers could be considered correct -- more or less. Performance is an odd beast, since it depends upon what kind of application is being created! ...
March 16, 2005 at 1:16 pm
No one else is jumping for this, so I will be the first to volunteer to help out...
March 16, 2005 at 1:12 pm
Thanks, Troy, but I read that site at least once a week already ... and if everyone else here did, we wouldn't be having this talk
March 14, 2005 at 1:54 pm
The answer is 1 query.
A UNION ALL does not constitute two queries -- it is ONE query, composed of TWO SELECTs.
Plus, there is a required THIRD SELECT -- the actual...
March 3, 2005 at 12:07 pm
Good job, Steve. Very enjoyable article. Interviewing with a 'dud' is definitely difficult.
One of my favorite questions, by the way, when I'm on the other side...
March 1, 2005 at 9:44 am
Viewing 15 posts - 406 through 420 (of 692 total)