-
What is the syntax that would make an invalid view valid?
-
alter view view_name compile;
Jeff Hunter
-
If the view is invalidated due to a database change in the underlying table, for example this can happen if one of the columns in the table that is referred in the view has been removed, then use CREATE OR REPLACE VIEW command to re-create the view.
-
Not that you HAVE to re-load from source. If the source is the same, you can just re-compile it. Also, if the source in the database is still valid, Oracle will automatically recompile it the next time you try to access it...
Jeff Hunter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|