Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

I tried adding a column to a table which is used in a materialized view and received the error

Cannot drop or modify object '%1' because at least one other object ( %2 '%3') depends upon it

In the remarks it says that this is expected for "...a materialized view, that cannot be automatically invalidated." So, what are the criterias which prevent a materialized view from being automatically invalidated?

asked 30 Aug '11, 04:48

Martin's gravatar image

accept rate: 14%

SQL Anywhere does not have a mechanism for automatically invalidating/re-materializing any materialized view when an underlying base table is modified. So it's not a question of which materialized views can or cannot be automatically invalidated; none of them can.

SQL Anywhere does, however, have the ability to automatically invalidate and re-establish ordinary views.

permanent link

answered 30 Aug '11, 09:07

Glenn%20Paulley's gravatar image

Glenn Paulley
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 30 Aug '11, 04:48

question was seen: 2,221 times

last updated: 30 Aug '11, 09:07