Archives of the TeradataForum
Message Posted: Mon, 01 May 2006 @ 16:47:21 GMT
| Subj: || || Re: Check for Broken Views |
| From: || || Victor Sokovin |
| ||Does anyone know of a way to check a database for Broken Views?|| |
You could try SHOW VIEW <view_name> or HELP VIEW <view_name>.
As far as I know there is no reliable information on the view status readily available in the DBC. View status is a dynamic characteristic, it
can change any second, and it would be a significant overhead for the database to revalidate views on the fly when something changes in the
database. So, it is "on request" kind of thing. SHOW/HELP or any SQL statement using the view would trigger the validation.