About 410,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. 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: …

  3. 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 …

  4. 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 …

  5. How to view table contents in Mysql Workbench GUI?

    Jul 28, 2017 · Open a connection to your server first (SQL IDE) from the home screen. Then use the context menu in the schema tree to run a query that simply selects rows from the selected …

  6. 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 …

  7. How to view database tables in SQL Server Management Studio?

    Dec 19, 2022 · I created an Asp.net-core-mvc project, defined DBContext and added migrations. How can I view tables created in my project's database using SSMS? If possible, provide the …

  8. mysql - SQL - Create view from multiple tables - Stack Overflow

    CREATE VIEW V AS ( SELECT i.country,i.year,p.pop,f.food,i.income FROM INCOME i LEFT JOIN POP p ON i.country=p.country LEFT JOIN Food f ON i.country=f.country WHERE …

  9. How to find all the dependencies of a table in sql server

    Feb 25, 2014 · In SQL Server 2008 there are two new Dynamic Management Functions introduced to keep track of object dependencies: sys.dm_sql_referenced_entities and …

  10. sql - How to view query that was used to create a table ... - Stack ...

    Apr 4, 2015 · There are two ways within SSMS to view the SQL statement (known as Data Definition Language, or DDL) used to create a table. Right-click the table and choose "Script …