Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 11 to 12 of 12 total |
Combine two views |
Mon, Nov 20 2017 3:00 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Adam
>And I use the Sub-select syntax A LOT now. It basically means you never really need VIEWs anymore, which I used to need for all sorts of situations. I think Views are good when you can set the conditions up once and just keep on using it. I'm lucky that until this I haven't had a situation where a parameterised bit of simple SQL (for a given value of simple) or script hasn't sufficed >The huge advantage of sub-selects is that the whole statement is visible in one place and you don't end up with dependencies. There are still times when a centralized VIEW, which can be accessed by a number of other SELECTs is useful, but there is also the risk of someone altering a view and generating unintended consequences. and since its treated like a table much less subject to review Roy |
Mon, Nov 20 2017 10:58 AM | Permanent Link |
Adam Brett Orixa Systems | A final critical drawback for VIEWs for me is that you need full control of a database to ALTER, whereas you can rewrite any piece of SQL at will.
If your database has a lot of up-time (and worse if it is replicated and therefore multi-instance) it can be very hard to find ways to ALTER. |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Saturday, May 4, 2024 at 09:18 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |