About 50 results
Open links in new tab
  1. Difference between View and table in sql - Stack Overflow

    May 23, 2017 · Possible Duplicate: Difference Between Views and Tables in Performance What is the main difference between view and table in SQL. Is there any advantage of using views instead of …

  2. sql - When to use a View instead of a Table? - Stack Overflow

    Views are handy when you need to select from several tables, or just to get a subset of a table. You should design your tables in such a way that your database is well normalized (minimum duplication).

  3. database - Table vs View vs Materialized View - Stack Overflow

    Feb 9, 2025 · A table is where data is stored. You always start with tables first, and then your usage pattern dictates whether you need views or materialized views. A view is like a stored query for future …

  4. Materialized View vs. Tables: What are the advantages?

    Nov 19, 2010 · Materialize views are in fact best choice over tables where aggregations are required regularly to show updated result sets. We can use Materialized view other than Data ware housing in …

  5. sql - Performance of Tables vs. Views - Stack Overflow

    Jun 29, 2011 · Views are built on top of tables -- why would you expect that the performance would be better? Layering views, where you build one view on top of another, is a bad practice because you …

  6. DLT - Views v Materialized Views syntax and how to declare?

    Mar 25, 2024 · 0 In Python, Delta Live Tables determines whether to update a dataset as a materialized view or streaming table based on the defining query. The @table decorator is used to define both …

  7. What is the difference between a stored procedure and a view?

    A view references one or more existing database tables or other views. It is the snap shot of the database whereas a stored procedure is a group of Transact-SQL statements compiled into a single …

  8. sql - Stored Procedures Vs. Views - Stack Overflow

    Views should in fact be treated as tables. Stored procedures are pieces of sql code that are 'compiled', as it where, to run more optimally than a random other query. The execution plan of sql code in a …

  9. sql - More efficient to query a table or a view? - Stack Overflow

    Jun 12, 2014 · I am still trying to wrap my head around exactly how views work and when it is best to use a view vs querying a table directly. Here is my scenario: All of the underlying data resides in a …

  10. Materialized View vs Table Using dbt - Stack Overflow

    Oct 22, 2020 · Materialized views in Snowflake can only query one table, while with DBT there are more options - e.g. join two tables and materialize as a table will give you something you can't do with a …