Hi all
Just wanted to ask for some advice for a locking issue I have come across.
I am developing in FoxPro, but issue SQL Pass Through statements to SQL Server 2000.
I update Table A and it has a relationship/foreign key back to Table B.
What I have noticed is that if an error occurs during this update, a message box is displayed which stopped the routine. Then I noticed that Table B is locked. I cannot query it at all.
Therefore, during the UPDATE, the whole of Table B is locked.
As it is a multiple user environment, I still need other users to be able to query the database.
What options are available to me?
Thanks
Just wanted to ask for some advice for a locking issue I have come across.
I am developing in FoxPro, but issue SQL Pass Through statements to SQL Server 2000.
I update Table A and it has a relationship/foreign key back to Table B.
What I have noticed is that if an error occurs during this update, a message box is displayed which stopped the routine. Then I noticed that Table B is locked. I cannot query it at all.
Therefore, during the UPDATE, the whole of Table B is locked.
As it is a multiple user environment, I still need other users to be able to query the database.
What options are available to me?
Thanks