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
Read Only Tables

Read Only Tables – Is it Possible? – SQL in Sixty Seconds #179

July 9, 2021
Pinal Dave
SQL Video
SQL Data Storage, SQL in Sixty Seconds, SQL Scripts, SQL Server

After reading it, lots of people asked me if I can make a video on this topic. Of course, here we go, Read Only Tables – Is it Possible?

Read More
Gouache painting of a plate of bread rolls under a glass dome with a vermilion knob

Freeze a Table With a Read Only Filegroup in SQL Server

July 8, 2021
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Table Operation

Freeze a table by placing it on a READ_ONLY filegroup. See what fails, how to move a table in, and how to undo it in SQL Server.

Read More
A broad compartment retaining bar protects several stored objects together.

SQL SERVER – Making Filegroup Read Only

July 7, 2021
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Server

A filegroup read-only setting prevents writes to objects stored there. A customer asked whether a table could be protected this way.

Read More
Work strips, paired covered intervals and a separate closure marker form a defined schedule.

SQL SERVER – Find Business Days Between Dates

July 5, 2021
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Server

Business Days Between Dates require a defined calendar and endpoint rule. This example counts inclusive Monday-to-Friday dates for July 2021.

Read More
Count Sum

One Scan for 3 Count Sum – SQL in Sixty Seconds #178

July 2, 2021
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Function, SQL in Sixty Seconds, SQL Index, SQL Scripts, SQL Server

Well, the answer is pretty straight forward and that is what we are going to see in today’s video of One Scan for 3 Count Sum.

Read More
Gouache painting of a windowsill with six jars of jam and a vase of wildflowers, one jar vermilion

TRUNCATE TABLE WITH PARTITIONS: Empty One Partition Fast

July 1, 2021
Pinal Dave
SQL Performance
SQL Delete, SQL Scripts, SQL Transactions, Table Partitioning

TRUNCATE TABLE WITH PARTITIONS empties one partition and logs far less than DELETE. See the syntax, the index rule and the limits in SQL Server.

Read More
Illustrated cover: SUM(1)

SQL Server – Single Scan for 3 Operations – COUNT(*) COUNT(1) SUM(1)

June 30, 2021
Pinal Dave
SQL Performance
Execution Plan, SQL Function, SQL Index, SQL Scripts, SQL Server, SQL Server Management Studio

Today we will take the same conversation to the next level by discussing Single Scan for 3 Operations – COUNT(*) COUNT(1) SUM(1).

Read More
Previous 1 … 9 10 11 12 13 14 15 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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