I have a SQL view that grabs data from various tables. One of those tables is table Y. The view is kinda slow and while the view is running I am unable to run any update statements on table Y. So I ran a stored procedure to view the current locks on the SQL server while the view is running. There was an IX lock on table Y. Now this view is only used to "View" data; why would the SQL server lock that table while it's running? Is there anything I can do to prevent this from happening? :/
Oops, something didn't work.Sign In to subscribe to this conversation
What does this mean?Subscriptions allow us send you email notifications when new content is added. You need to be signed in to Channel 9 to use this feature.Getting subscriptionSubscribe to this conversation
What does this mean?Subscriptions allow us send you email notifications when new content is added.UnsubscribingSubscribingDid you know you can
sign up for email notifications?