About 555,000 results
Open links in new tab
  1. How do I obtain a Query Execution Plan in SQL Server?

    There are a number of methods of obtaining an execution plan, which one to use will depend on your circumstances. Usually you can use SQL Server Management Studio to get a plan, …

  2. Query Regressed Queries in SQL Server 2016 Query Store

    Aug 30, 2024 · To find regressed-queries I imagine you'd have to set-up your own query-performance-tracking system which would need to poll the sys,query_store... views and look …

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

    Is the query history stored in some log files? If yes, can you tell me how to find their location? If not, can you give me any advice on how to see it?

  4. How to query from a stored procedure in SQL Server?

    Jun 11, 2016 · 0 You must declare a variable in the store procedure which will be necessary to pass to run the stored procedure. Here is an example. Keep this in mind: Before AS you can …

  5. sql server - How to save select query results within temporary …

    I need to save select query output into temporary table. Then I need to make another select query against this temporary table. Does anybody know how to do it? I need to make this on SQL …

  6. sql server - Query to list all stored procedures - Stack Overflow

    What query can return the names of all the stored procedures in a SQL Server database If the query could exclude system stored procedures, that would be even more helpful.

  7. Search text in stored procedure in SQL Server - Stack Overflow

    Feb 5, 2013 · I want to search a text from all my database stored procedures. I use the below SQL: SELECT DISTINCT o.name AS Object_Name, o.type_desc FROM sys.sql_modules m …

  8. How to store queries in SQL Server database? - Stack Overflow

    Mar 5, 2015 · I've stored ad-hoc queries in a table. Just use a VARCHAR or NVARCHAR column. You can also include snippets, e.g. pieces of text to be substituted before the query is …

  9. sql - How to identify all stored procedures referring a particular ...

    Sep 1, 2011 · For Azure SQL, followig can be used to check external table as well. sys.dm_sql_referenced_entities If a stored procedure is the specified referencing entity, this …

  10. How to find which Program or User executed Query using Query …

    Apr 5, 2018 · The Query Store in SQL Server keeps track of the queries, their plans, and runtime statistics, but it does not maintain a record of who executed those queries. Query Store has its …