Viewing 10 posts - 1 through 10 (of 10 total)
'. . . My guess is that SQL Server is using Page Locks for the INSERTS instaed of Row Locks even though I specify WITH (ROWLOCK) table hint.'
'. . ....
April 3, 2003 at 1:38 am
This is kind of by design. Without a literal value, the optimizer cannot use your CHECK constraint to locate the member, because it ignores the the content of the variable....
February 6, 2003 at 12:34 pm
Yes, do it right, then tune. In fact you can summarize with indexed views and still keep your table 'correct', but watch out for blocking in the indexed view when...
February 6, 2003 at 3:05 am
Forgot!
Another side effect of long cluster keys is that the risc that one of the columns in the index will be updated is higher.
And anytime you update a cluster...
February 6, 2003 at 2:22 am
"first one having Clustered index(Also PKey on 5 cols )and 2 other indexes on imp columns(i suppose)second table also Clustered index(PKey 6 cols) and 2 non-clustered indexes."
I think you should...
February 6, 2003 at 2:09 am
quote:
--------------------------------------------------------------------------------
"it is worth noticing that an UPDLOCK rather
than a HOLDLOCK may save the show. An UPDLOCK is a shared lock, so it
does not block readers. However, only one process...
February 5, 2003 at 2:30 pm
"if you ever need the new value do:
update dbo.zMaster
set @RegNumber = RegistrationKey = RegistrationKey + 1
It works great, I couldn't make it fail, but it scares me. Is this double...
February 5, 2003 at 2:12 pm
jpipes request for seeing some errorhandling code is actually a very good tip, because the errorhandling code is essential for your problem, as your script will generate a conversion deadlock...
February 3, 2003 at 6:13 am
I have a complex sp that is responsible for selecting, locking and returning the next call in a call centre. It is tricky because I have to ensure that...
November 18, 2002 at 1:16 am
quote:
I have a complex sp that is responsible for selecting, locking and returning the next call in a call centre. It...
November 18, 2002 at 1:09 am
Viewing 10 posts - 1 through 10 (of 10 total)