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 / March 2006

Tip: Looking for answers? Try searching our database.

refresh view ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
satishrajana@gmail.com - 01 Mar 2006 13:03 GMT
Do we need to refresh a view when a table structure is altered ?. I
thought a view is just a query and it does not have to ? Please let me
know.
S
Serge Rielau - 01 Mar 2006 13:15 GMT
> Do we need to refresh a view when a table structure is altered ?. I
> thought a view is just a query and it does not have to ? Please let me
> know.
> S

How do you alter the table structure? And which version of DB2?

Cheers
Serge

Signature

Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

satishrajana@gmail.com - 01 Mar 2006 13:20 GMT
I mean by adding adding a column and the DB2 version is 8
Serge Rielau - 01 Mar 2006 14:16 GMT
> I mean by adding adding a column and the DB2 version is 8

Adding a column has no impact whatsoever on a view.
If you happen to use "SELECT *" then the SQL Standard requires the view
NOT to pick up the extra column.
Note that "SELECT *" (especially in static objects) is by many
considered evil.

Cheers
Serge

Signature

Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

satishrajana@gmail.com - 01 Mar 2006 14:20 GMT
Serge..That answers my question. Appreciate your help !
 
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.