Editing a view requires exclusive access
You can't edit a view while tables are in use, you get an invalid open mode error. If possible, please remove this requirement so views can be edited on a live system. Thanks.
The only way I was able to re-create this was by opening a table in exclusive mode, which would then cause view modification to return a 7008 error. The view dialog verifies the correctness of the sql by running a semantic check, which can’t complete if a table the view uses is opened exclusive.
2 comments
-
synack
commented
I've seen this happen when exclusive access wasn't in use. I can't give you an example at the moment but it does happen.
-
jeremym1234
commented
I could not re-create this. If tables the view references are opened shared, this works. If any of the tables are opened exclusive, it fails, which is expected.