About 6,170,000 results
Open links in new tab
  1. Finding Ad Hoc Queries with Query Hash - Grant Fritchey

    Sep 18, 2013 · Introduced in SQL Server 2008 and available in the standard Dynamic Management Objects (DMO), we have a mechanism to identify ad hoc queries that are similar …

  2. Monitoring SQL Server ad-hoc query use and abuse - Solution …

    This article will provide an overview of ad-hoc query use in SQL Server, the potential resulting problems as well as how to detect and remediate them.

  3. Server configuration: Ad Hoc Distributed Queries - SQL Server

    Oct 21, 2024 · Find out how to enable Ad Hoc Distributed Queries in SQL Server. You can then use OPENROWSET and OPENDATASOURCE to connect to remote OLE DB data sources.

  4. What are Ad Hoc Distributed Queries and How to Configure Them …

    Aug 20, 2024 · Ad Hoc Distributed Queries (Ad Hoc Queries) are SQL queries that use the OPENROWSET or OPENDATASOURCE functions to connect to remote data sources, which …

  5. How to Search Stored Procedures and Ad-Hoc Queries

    Feb 13, 2009 · As a starting point, you can use the following code to retrieve SQL query texts that are currently stored in the plan cache: stmt.value('(@StatementText)[1]', 'varchar(max)') AS …

  6. SQL SERVER – AdHoc Queries and Optimize for Adhoc Workloads

    Apr 16, 2021 · Here is another blog post that will help you determine if you are running lots of ad-hoc queries or not. In summary, if your database is running lots of Adhoc queries it is a good …

  7. What Is An Ad Hoc Query? Defining SQL Ad-Hoc Queries

    May 4, 2021 · Someone recently asked me which queries are ad hoc in SQL Server. An ad hoc query is a single query not included in a stored procedure and not parameterized or prepared. …

  8. Distributed and ad hoc queries - Host Integration Server

    Aug 19, 2024 · Ad Hoc Name Queries. An ad hoc name is used for infrequent queries against OLE DB data sources that are not defined as linked servers. In SQL Server, the …

  9. Ad Hoc Distributed Queries – SQL Server - CalCom

    Aug 11, 2024 · How to check if ad hoc distributed queries is enabled in SQL? By default, SQL Server does not permit ad hoc distributed queries using OPENROWSET and …

  10. Investigating Problems With Ad-Hoc Queries Using SQL Monitor

    Mar 13, 2018 · To catch and diagnose these issues reliably, you'll need baselines for various resource metrics, so you can plot them over a range of periods. This is where a tool like SQL …

  11. Some results have been removed
Refresh