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
A lit front parlour in use while the rooms beyond still sit under white dust sheets.

Piecemeal Restore: Bringing the Primary Filegroup Online First

January 26, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL High Availability, SQL Server

Rehearse a piecemeal restore that brings PRIMARY and current data online first, then restores archive filegroups with the right log chain.

Read More
SQL Server Query Execution Plan.

SQL SERVER – Basic Explanation of Query Hint NOWAIT – How to Not Wait on Locked Query

January 25, 2013
Pinal Dave
SQL Performance
Query Hint, SQL Lock

Everybody knows NOLOCK, but not everyone knows NOWAIT. A question at a Bangalore User Group session led me to explain how NOWAIT skips waiting on a lock.

Read More
A line of standing dominoes interrupted by one solid wooden block set across the run.

SQL SERVER – How to Use Instead of Trigger

January 24, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Trigger

Triggers come in two kinds, Instead of and After. Here is how an Instead of Trigger can intercept an insert, update or delete on a table, with an example.

Read More
Gouache painting of a frayed woven strip held between wooden guides beside red scissors and trimmed fibers.

TRIM Function in SQL Server: SQL in Sixty Seconds #040

January 23, 2013
Pinal Dave
SQL Video
SQL Function, SQL in Sixty Seconds, SQL Server 2017, SQL Server 2022, SQL String

The TRIM function removes spaces from the ends of a string, and SQL Server has had it since 2017. The tests here show which characters TRIM leaves behind, the LEADING and TRAILING keywords, and a WHERE clause that read 884 pages against 3.

Read More
Gouache painting: a room that overflowed, extra folding chairs lined along every wall, one chair vermilion

SharePoint Conference Singapore 2013: A Great Experience

January 22, 2013
Pinal Dave
SQLAuthority News
Conferences, SharePoint, SQLAuthority Author Visit

I had the great pleasure of presenting at SharePoint Conference Singapore 2013, my second visit to the event. I shared three database tips in a session inspired by SQL in Sixty Seconds, and the room overflowed. Here is my recap, with photographs.

Read More
Three mushroom drying strings holding many recent and fewer selected older slices

Grandfather-Father-Son Retention: Choosing Which Backups to Keep

January 21, 2013
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server

Which backups survive when you keep three days, two weeks and two months? A small query answers it, and then you check the real files.

Read More
A stone sundial in a walled garden at midday with a crisp shadow, a trowel and a basket of cut flowers on its plinth.

Designing a Date Dimension

January 20, 2013
Pinal Dave
SQL Tips and Tricks
Business Intelligence, Data Warehousing, SQL DateTime, SQL Server

A date dimension makes reporting calendars explicit with fiscal periods, holidays, weekdays, and a repeatable SQL Server build script.

Read More
Previous 1 … 501 502 503 504 505 506 507 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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