About 6,780,000 results
Open links in new tab
  1. How to View a Table in SQL: Essential Steps for Database …

    Jun 28, 2023 · SQL Server users can leverage the sys.tables feature or query from the INFORMATION_SCHEMA.TABLES table. For SQLite, the sqlite_master table can be queried. Here’s a quick rundown of how these methods work for each DBMS:

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

    To get the information of a view, you use the system catalog sys.sql_module and the OBJECT_ID() function: SELECT definition, uses_ansi_nulls, uses_quoted_identifier, is_schema_bound FROM sys.sql_modules WHERE object_id = object_id( 'view_name' );

  3. SQL CREATE VIEW, REPLACE VIEW, DROP VIEW Statements - W3Schools

    In SQL, a view is a virtual table based on the result-set of an SQL statement. A view contains rows and columns, just like a real table. The fields in a view are fields from one or more real tables in the database.

  4. SQL Views - GeeksforGeeks

    Apr 18, 2025 · In this guide, we will cover the SQL create view statement, updating and deleting views, and using the WITH CHECK OPTION clause. What is a View in SQL? A view in SQL is a saved SQL query that acts as a virtual table. Unlike regular tables, views do …

  5. SQL - Show Tables - GeeksforGeeks

    May 3, 2024 · In SQL Server, there are different ways to list tables within the database such as using INFORMATION_SCHEMA.TABLES View, query system catalog views, dynamic management views (DMVs). The syntax for the querying system views to list the tables in SQL Server: SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE ...

  6. How to view table in SQL Server - DatabaseFAQs.com

    Dec 15, 2021 · In SQL Server, there are commonly two ways to view table definition. The first method is by using SQL Server Management Studio, and the second way is by executing Transact-SQL queries. Let’s discuss both methods in more detail. Read Create a …

  7. How do I find the tables and columns which make up a view

    Jul 23, 2014 · In SQL Server Management Studio, go to the Object Explorer, find the view you're interested in, right-click on it, and pick. The SQL script that defines the view and thus also shows all the base tables it depends on will be scripted out into a new query editor window for you.

  8. Creating SQL VIEWs Step By Step - MSSQLTips.com - SQL Server …

    Apr 20, 2022 · A SELECT statement to query a table (or tables) can, in most cases, be converted into a view. This allows you to query the view instead of writing the SELECT statement each time you need to reference the data in one or more tables.

  9. How To View Table In SQL Server Management Studio

    Nov 1, 2024 · Approach-4: Using SQL Query to view the table data You can execute the SQL query below to view the complete data in your SQL server table. SELECT * FROM TableName;

  10. How can I show the table structure in SQL Server query?

    Aug 18, 2013 · In SQL Server, you can use this query: USE Database_name SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='Table_Name'; And do not forget to replace Database_name and Table_name with …

  11. Some results have been removed
Refresh