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

    May 23, 2017 · I thought this was best explained by the article "SQL - What is a View" published by 1Keydata: A view is a virtual table. A view consists of rows and columns just like a table. …

  2. sql - Create Table from View - Stack Overflow

    Oct 8, 2016 · If you modify last where condition, you can get scripts for create table from views. The next answer makes it easier for you. You can set table or view name and run script then …

  3. How to find which views are using a certain table in SQL Server …

    Mar 8, 2012 · I found out that INFORMATION_SCHEMA.VIEW_TABLE_USAGE is not that reliable. It should list base tables and views that a particular view is depending …

  4. How to get a view table query (code) in SQL Server 2008 …

    I have a view in SQL Server 2008 and would like to view it in Management Studio. Example:--is the underlying query for the view Example_1 select * from table_aView View name: …

  5. SQL Server 2012 how do I view data? - Stack Overflow

    Jul 9, 2012 · In SSMS, hit the 'new query' button, which should be right under the "file edit view..." menu. You'll get a blank window where you can type the SQL, with the results showing up …

  6. sql - Describe table structure - Stack Overflow

    Jun 7, 2017 · sqlite3: .schema table_name; Postgres (psql): \d table_name; SQL Server: sp_help table_name (or sp_columns table_name for only columns) Oracle DB2: desc table_name or …

  7. sql - Are Views automatically updated - Stack Overflow

    Oct 13, 2011 · I figured yea. So after interview I tested it. Created simple View from a some simple table. Wrote a simple update statement to update a column's value where PKId= …

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

    @ouonomos: A normal view doesn't contain any data. It is just a stored SQL statement, i.e. a view on the underlying data. Some databases (e.g. Oracle, PostgreSQL) support materialized …

  9. sql selecting from view and table - Stack Overflow

    Oct 7, 2016 · I have a select query in which I would like to do a join on a view and another table. The view works fine and so does the table, separately. But when I try to do something like: …

  10. database - How to show tables in PostgreSQL? - Stack Overflow

    Apr 20, 2009 · You can use PostgreSQL's interactive terminal Psql to show tables in PostgreSQL. 1. Start Psql. Usually you can run the following command to enter into psql:

Refresh