Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 3 of 3 total |
Changes To Views |
Fri, Mar 22 2013 1:39 PM | Permanent Link |
Chris Clark | Hi
Would it be possible to get clarification on when views need to be 'updated'. While Developing an Application I've occasionally run in to a couple of issues when changing DB table structure which is referenced in views. If I have a view with a Select * in it, Adding Fields to the Table its derived from sometimes causes incorrect fields to be returned to the application, and sometimes when changing data types in the source tables, the previous types are still represented. Altering the view and saving it seems to sort this out, and I'm assuming its something to do with the view being prepared once prior to use, but when I deploy I'm just wondering if I need to drop and re-create all views if the source tables are changed. Thanks in Advance. |
Fri, Mar 22 2013 3:22 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Chris,
<< Would it be possible to get clarification on when views need to be 'updated'. >> Never - they are automatically updated by EDB as necessary. << While Developing an Application I've occasionally run in to a couple of issues when changing DB table structure which is referenced in views. If I have a view with a Select * in it, Adding Fields to the Table its derived from sometimes causes incorrect fields to be returned to the application, and sometimes when changing data types in the source tables, the previous types are still represented. Altering the view and saving it seems to sort this out, and I'm assuming its something to do with the view being prepared once prior to use, but when I deploy I'm just wondering if I need to drop and re-create all views if the source tables are changed. >> This is a bug. I just did a test here and the issue is that the view is not being re-compiled when the underlying tables change, so I'll make sure this is fixed in the next EDB build. Thanks, Tim Young Elevate Software www.elevatesoft.com |
Mon, Mar 25 2013 6:20 AM | Permanent Link |
Chris Clark | OK, Thanks for letting me know.
"Tim Young [Elevate Software]" wrote: This is a bug. I just did a test here and the issue is that the view is not being re-compiled when the underlying tables change, so I'll make sure this is fixed in the next EDB build. Thanks, Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, May 7, 2024 at 06:25 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |