About 18,300,000 results
Open links in new tab
  1. 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, …

  2. Is there a way to see the code that creates a view in SQL server ...

    Dec 5, 2016 · I want to see the underlying code for how a view is created in SQL server management studio. Is there a way to do this? I want to see any date filters, etc, applied to this …

  3. t sql - How to view the stored procedure code in SQL Server …

    Jan 5, 2012 · This will show you the T-SQL code for your stored procedure in a new query window, with an ALTER PROCEDURE ... lead-in, so you can easily change or amend your …

  4. Display Line Numbers in a SQL Server Management Studio Query Window

    Dec 19, 2024 · Learn how to turn on and off SSMS show line numbers to see line numbers for code in SQL Server Management Studio queries.

  5. Get information about a view - SQL Server | Microsoft Learn

    Dec 17, 2024 · You can gain information about a view's definition or properties in SQL Server by using SQL Server Management Studio or Transact-SQL. You might need to see the definition …

  6. How do I view executed queries within SQL Server Management …

    Use the Activity Monitor. It's the last toolbar in the top bar. It will show you a list of "Recent Expensive Queries". You can double-click them to see the execution plan, etc. +1 for telling us …

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

  8. How to see query history in SQL Server Management Studio

    Aug 23, 2022 · Query history can be viewed using the system views: For example, using the following query: creation_time, last_execution_time, execution_count, total_worker_time/1000 …

  9. SQL SELECT Statement - W3Schools

    The SQL SELECT Statement. The SELECT statement is used to select data from a database.

  10. 20 Basic SQL Query Examples for Beginners - LearnSQL.com

    Aug 17, 2023 · We’ll soon show you 20 basic SQL query examples to start talking with the database. All these queries are taught in our SQL Basics course. This course will give you …

  11. Some results have been removed