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
Gouache painting of a row of wooden beads on linen ending in a small vermilion knot, with the last bead sitting apart on the cloth

Extracting the Folder and File Name From a Full Path in T-SQL

December 14, 2015
Pinal Dave
SQL Tips and Tricks
Best Practices, File format, SQL Server

Split a path at the last backslash and handle the odd inputs. Bare names, empty values, trailing spaces and NULL all behave.

Read More
SQL SERVER - Getting Started with Project Versions in the SSIS Catalog - Notes from the Field #106

SQL SERVER – Getting Started with Project Versions in the SSIS Catalog – Notes from the Field #106

December 10, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server, SSIS

Tim Mitchell shows a handy but overlooked feature: project versions in the SSIS catalog, which keep earlier deployments you can browse in SSMS.

Read More
Aligned asparagus stems entering a mechanical peeler beside crossed stems

BULK INSERT ORDER Hint: Loading Pre-Sorted Files Without a Sort

December 7, 2015
Pinal Dave
SQL Tips and Tricks
Query Hint, SQL Order By, SQL Server

The ORDER hint does not sort anything. It is a promise about your file, and SQL Server checks it. Here is what happens when you break it.

Read More
SQL SERVER - Could Not Register Service Principal Name Persists - Notes from the Field #105

SQL SERVER – Could Not Register Service Principal Name Persists – Notes from the Field #105

December 3, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Error Messages, SQL Function, SQL Server

Seeing ‘Could not register the Service Principal Name’ in your SQL Server log at startup? In Notes from the Field #105, Ryan Adams explains why and what to do.

Read More
SQL Server - T-SQL Enhancement "Drop if Exists" clause

SQL Server – T-SQL Enhancement “Drop if Exists” clause

December 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server 2016

Tired of IF OBJECT_ID checks before every DROP? SQL Server 2016 adds a T-SQL enhancement I wanted for years, the DROP IF EXISTS clause. Here is how it works.

Read More
SQL SERVER - New features in SQL Server 2016 Setup Wizard

SQL SERVER – New features in SQL Server 2016 Setup Wizard

November 23, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server 2016, SQL Server Installation, SQL TempDB

Microsoft listened to feedback, and the SQL Server 2016 Setup Wizard shows it. Here are the new options I noticed, such as Perform Volume Maintenance Task.

Read More
A single dewdrop at the tip of a leaf hanging over a low stone wall at night, about to fall on the far side

Why datetime Turns .999 Milliseconds Into the Next Day

November 18, 2015
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DateTime, SQL Server

See why 999 milliseconds rounds into tomorrow with datetime, compare datetime2 precision, and use an exclusive next-day report boundary.

Read More
Previous 1 … 233 234 235 236 237 238 239 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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