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 tree stump with growth rings and one red pin in the center ring

Find SQL Server Installation Date and Time with T-SQL

July 5, 2012
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server Installation

The SQL Server Installation Date is the create date of the NT AUTHORITY\SYSTEM login, and one short query reads it. This post compares that clue with other dates that look right but aren’t, shows how to work out an Evaluation expiry date, and lists the cases where the clue is wrong.

Read More
SQL SERVER - Tricks to Comment T-SQL in SSMS - SQL in Sixty Seconds #019 - Video

SQL SERVER – Tricks to Comment T-SQL in SSMS – SQL in Sixty Seconds #019 – Video

July 4, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

Three quick ways to comment T-SQL code and uncomment it in SSMS, starting with keyboard shortcuts. A SQL in Sixty Seconds video that saves time while debugging.

Read More
SQL SERVER - Monitoring SQL Server Database Transaction Log Space Growth - DBCC SQLPERF(logspace) - Puzzle for You

SQL SERVER – Monitoring SQL Server Database Transaction Log Space Growth – DBCC SQLPERF(logspace) – Puzzle for You

July 3, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

Old but still my favorite: DBCC SQLPERF(logspace) to monitor transaction log space growth, saved with the time of each snapshot. Plus a puzzle for you.

Read More
SQL SERVER - Validating Spatial Object with IsValidDetailed Function

SQL SERVER – Validating Spatial Object with IsValidDetailed Function

June 29, 2012
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Scripts

Invalid spatial objects used to give only a simple error. The IsValidDetailed function tells you whether a shape is valid and, when it is not, the reason why.

Read More
SQL SERVER - Powershell - Importing CSV File Into Database - Video

SQL SERVER – Powershell – Importing CSV File Into Database – Video

June 27, 2012
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Scripts, SQL Server, SQL Utility

PowerShell expert Laerte Junior shows importing CSV file into database tables with PowerShell, with a video, building on my SQL in Sixty Seconds post.

Read More
An open plain reference book has several colored fabric bookmarks beside a magnifying glass.

Finding the Right Answer in SQL Server Documentation

June 24, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Use SQL Server documentation with the right version and platform selected, read syntax carefully, and keep useful reference material offline.

Read More
SQL SERVER - Importing CSV File Into Database - SQL in Sixty Seconds #018 - Video

SQL SERVER – Importing CSV File Into Database – SQL in Sixty Seconds #018 – Video

June 20, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

What is the quickest way of importing CSV file data into a SQL Server table? This SQL in Sixty Seconds video shows it: create a table, BULK INSERT, verify.

Read More
Previous 1 … 204 205 206 207 208 209 210 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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