August 2, 2006 at 7:51 pm
Does anyone has any idea why code below will cause TAB lock to all my partition tables?
UPDATE tbl_Partition1
FROM v_Partition t1, tbl_JoinTable t2
WHERE t1.partitionKey = myPartitionKey
AND t1.key = t2.key
I am updating my partition table. However, I need to use my partition view to join with another table in order to give me some result.
This query locks all my partition tables. (let say, I have 5 partition tables)
Thanks.
August 2, 2006 at 11:21 pm
What are you trying to update?
UPDATE tbl_Partition1
SET ?????? = ?????
FROM v_Partition t1
INNER JOIN tbl_JoinTable t2 ON t1.key = t2.key
WHERE t1.partitionKey = tbl_Partition1.myPartitionKey
_____________
Code for TallyGenerator
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy