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 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
SQL SERVER - TRIM Function to Remove Leading and Trailing Spaces of String - SQL in Sixty Seconds #040 - Video

SQL SERVER – TRIM Function to Remove Leading and Trailing Spaces of String – SQL in Sixty Seconds #040 – Video

January 23, 2013
Pinal Dave
SQL Video
Database, SQL DateTime, SQL Function, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Management Studio

SQL Server has no TRIM function, and calling it gives error Msg 195. This SQL in Sixty Seconds video shows how to remove leading and trailing spaces without it.

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
An ice cube tray with some cells full, some half full and some empty, a red cube beside it

Why Table Size Numbers Disagree: Reserved, Used and Unused Space

January 19, 2013
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Server, SQL Server DBCC

Reconcile table size reports by reading reserved, used, data, index, and unused pages from sys.dm_db_partition_stats on SQL Server.

Read More
SQL SERVER - A List of Various SQL Server RTM and Service Pack Number

SQL SERVER – A List of Various SQL Server RTM and Service Pack Number

January 18, 2013
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server, SQL Service Pack

Which SQL Server version are you running, and is it the latest? My list of RTM and Service Pack Number values to check your production server against.

Read More
Previous 1 … 498 499 500 501 502 503 504 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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