This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
Man with sculptures and text.

Using Stored Procedure in SELECT – SQL in Sixty Seconds #193

February 15, 2022
Pinal Dave
SQL Video
Ad Hoc Query, SQL in Sixty Seconds, SQL Server, SQL Stored Procedure

Today we are going to learn about how Using Stored Procedure in SELECT. However, the easiest method to run the stored procedure.

Read More
procselect

SQL SERVER – Using Stored Procedure in SELECT Statement

February 8, 2022
Pinal Dave
SQL Tips and Tricks
Ad Hoc Query, SQL Server, SQL Stored Procedure

A very popular question I often receive during my Performance Health Check is about how to use stored procedures in SELECT Statement.

Read More
Optimize for Adhoc

Optimize for Ad Hoc Workloads – SQL in Sixty Seconds #173

June 10, 2021
Pinal Dave
SQL Video
Ad Hoc Query, Execution Plan, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Configuration

Today we are going to discuss if we should keep Optimize for Ad Hoc Workloads true or false. Let us see a detailed video about it.

Read More
different entry

SQL SERVER – Same Result Same Query Plan – Different Entry in Cache

June 2, 2021
Pinal Dave
SQL Performance
Ad Hoc Query, SQL Cache, SQL Scripts, SQL Server

The question I was asked was about a query that had the same result same query plan but the different entry in the cache, is that possible.

Read More
adhoc queries

SQL SERVER – AdHoc Queries and Optimize for Adhoc Workloads

April 16, 2021
Pinal Dave
SQL Tips and Tricks
Ad Hoc Query, SQL CPU, SQL Scripts, SQL Server, SQL Server Configuration

Discussion with a client during the Comprehensive Database Performance Health Check.  The topic is AdHoc Queries and Optimize for Adhoc Workloads.

Read More
slow performance

SQL SERVER – Top Reasons for Slow Performance

February 10, 2020
Pinal Dave
SQL Performance
Ad Hoc Query, Clustered Index, Disk, Query Hint, SQL CPU, SQL Data Storage, SQL DMV, SQL Function, SQL Index, SQL Memory, SQL Server, SQL Server Configuration, SQL Stored Procedure, SQL TempDB, SQL Utility

Yesterday, I had asked a very simple question on twitter about the top reasons for the slow performance. Let us discuss this topic today.

Read More
Blocked Access.

SQL SERVER – FIX: Msg 15281 – SQL Server Blocked Access to STATEMENT ‘OpenRowset/OpenDatasource’ of Component ‘Ad Hoc Distributed Queries’

December 8, 2018
Pinal Dave
SQL Tips and Tricks
Ad Hoc Query, SQL Error Messages, SQL Scripts, SQL Server

Reading Excel, a reader got Msg 15281: SQL Server blocked access to STATEMENT ‘OpenRowset/OpenDatasource’. Enabling Ad Hoc Distributed Queries fixes it.

Read More
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com