Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / January 2008

Tip: Looking for answers? Try searching our database.

views going invalid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roger - 04 Jan 2008 22:07 GMT
For some reason some of my views on a DB2 8.2 FP15 database went into
invalid state. I extracted the text from the sysviews and re created
them.  I want to know why it went to invalid state to begin with.  How
can i find the reason ?

Thanks

Roger
m - 04 Jan 2008 22:14 GMT
> For some reason some of my views on a DB2 8.2 FP15 database went into
> invalid state. I extracted the text from the sysviews and re created
[quoted text clipped - 4 lines]
>
> Roger

Generally speaking - views go invalid when the underlying table changes....
Tomas - 05 Jan 2008 00:16 GMT
> For some reason some of my views on a DB2 8.2 FP15 database went into
> invalid state. I extracted the text from the sysviews and re created
[quoted text clipped - 4 lines]
>
> Roger

Check out syscat.viewdep for the views in question to find what other
objects the views depend on.  A change to those base objects (table,
function, other view...) could make your views inoperative.

/T
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.