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
alias

SQL SERVER – Strange Error Related to Alias

September 27, 2019
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

They immediately paid for Comprehensive Database Performance Health Check and we got online to look at their strange error related to alias.

Read More
SQL SERVER - Unable to Start SQL Server Service or Connect After Incorrectly Setting Max Server Memory to a Low Value

SQL SERVER – Unable to Start SQL Server Service or Connect After Incorrectly Setting Max Server Memory to a Low Value

September 26, 2019
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Memory, SQL Scripts, SQL Server, Starting SQL

After incorrectly setting max server memory to 14 MB instead of 145000, a client could not start SQL Server. Here is how we got it back online.

Read More
A shepherd seen from behind counting sheep one by one through a half-open field gate, a red crook against the post.

ROWCOUNT_BIG and @@ROWCOUNT: Checking What a Statement Changed

September 25, 2019
Pinal Dave
SQL Tips and Tricks
Output Clause, SQL Function, SQL Scripts, SQL Server, SQL Trigger

Capture ROWCOUNT_BIG immediately after a change, validate expected counts, and handle NOCOUNT, triggers, and MERGE without stale values.

Read More
Gouache painting of a vegetable bed divided into five sections with a vermilion watering can on one divider

Get Partition Info in SQL Server: Rows and Boundaries

September 24, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table, Table Partitioning

To get partition info in SQL Server, join sys.partitions to the partition scheme, function and filegroup views. This post builds a small partitioned table, lists every partition with its boundaries, row count and filegroup, and shows how to find the partition for a value. It also lists the tables that have more than one partition.

Read More
Illustrated cover: Table Variable vs Temp Table

SQL SERVER – Table Variables or Temp Tables – Performance Comparison – SELECT

September 23, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB, SQL Variable, Temp Table

Today we are going to discuss the performance comparison of table variables and temp tables when we are running SELECT queries.

Read More
A removable inspection tool is maintained beside a separate larger workshop machine.

SQL SERVER – Check for Update in SSMS

September 18, 2019
Pinal Dave
SQL Tips and Tricks
Cumulative Update, SQL Scripts, SQL Server, SQL Server Management Studio

How to check for an update in SSMS depends on the installed generation. My fintech-customer walkthrough showed SSMS 18 settings.

Read More
Gouache painting of a neat stack of leaves held down by a vermilion stone while loose leaves lie at the edge of the table

Lock Pages in Memory: When to Enable It and How to Check

September 16, 2019
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Server Configuration, Windows

Lock Pages in Memory is a Windows right that stops Windows from paging out the SQL Server buffer pool. This post explains what it does and what it doesn’t, how to grant it to the service account and how to check the result with T-SQL. It also covers the max server memory setting that must go with it.

Read More
Previous 1 … 69 70 71 72 73 74 75 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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