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
SQL SERVER - Convert Seconds to Hour : Minute : Seconds Format

SQL SERVER – Convert Seconds to Hour : Minute : Seconds Format

August 17, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime

A reader needed to convert seconds to Hour : Minute : Seconds format for a web page report. Here is a simple T-SQL script that does it.

Read More
SQL SERVER - Convert Old Syntax of RAISEERROR to THROW

SQL SERVER – Convert Old Syntax of RAISEERROR to THROW

August 16, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

A reader upgraded SQL Server and wanted to convert old RAISEERROR to THROW. I show the same error handled both ways, before and after SQL Server 2012.

Read More
SQL SERVER - Validating If Date is Last Day of the Year, Month or Day

SQL SERVER – Validating If Date is Last Day of the Year, Month or Day

August 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime

A reader asked how to check if a date is the last day of the year, month or week. There is no built-in function, so here is the one I wrote.

Read More
Script to find first day of current month.

SQL SERVER – Script to Find First Day of Current Month

August 14, 2014
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function

Michael Usov suggested a quick way to find the first day of current month while keeping the DATETIME datatype, with or without the time part.

Read More
Clay-covered hands at a potter's wheel shaping a bowl, with a row of earlier practice bowls drying on a shelf.

Making Online Learning Stick

August 13, 2014
Pinal Dave
SQL Tips and Tricks
Professional Development, SQL Server, SQL Training, Starting SQL

Making online learning stick takes practice beside each video, short notes, spaced review, and one finished project that uses the skill.

Read More
Object Created.

SQL SERVER – ​Finding Out What Changed in a Deleted Database – Notes from the Field #041

August 13, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security

What changed in a database that no longer exists? Brian Kelley shares a real story on finding out what changed in a deleted database.

Read More
A herd of goats on a hillside following one old lead goat wearing the only bell toward a gate

Finding Databases Owned by Personal Logins and Fixing Them

August 12, 2014
Pinal Dave
SQL Tips and Tricks
DBA, SQL Login, SQL Server, SQL Server Security

Find databases owned by personal logins, review an approved replacement owner, and test dbo mapping and execution-context effects.

Read More
Previous 1 … 416 417 418 419 420 421 422 … 845 Next
  • Books
  • Testimonials
  • Privacy Policy

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