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
PowerShell - Script to Listing all Backups Taken with SQL Server

PowerShell – Script to Listing all Backups Taken with SQL Server

October 24, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Backup and Restore, SQL Scripts, SQL Server

A handy PowerShell script for listing all backups taken for each database on your SQL Server, one I keep on my USB drive for customer visits.

Read More
A wooden loom shuttle beside cloth whose woven threads are visible

Fastest Way to Display Code of Any Stored Procedure – Interview Question of the Week #094

October 23, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Server, SQL Stored Procedure

What is the fastest way to display code of any stored procedure? It is not always clicking Modify in SSMS. Here is the age old interview question and my answer.

Read More
Sqlcmd cmdlet output in terminal.

PowerShell – Tip: How to Format PowerShell Script Output?

October 22, 2016
Pinal Dave
SQL Tips and Tricks
File format, PowerShell, SQL Scripts, SQL Server

Raw PowerShell output is hard to read. Here are three common ways to format PowerShell script output, starting with Format-Table, so results make sense.

Read More
PowerShell Scripts - get-process with SQL Server process

PowerShell Scripts – get-process with SQL Server process

October 21, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Scripts, SQL Server

I was playing with the get-process cmdlet in PowerShell. Here is how to use get-process with SQL Server to find the sqlservr process and its details.

Read More
SQL SERVER - How to Avoid Triggers for Multiple Row Operations in a Table

SQL SERVER – How to Avoid Triggers for Multiple Row Operations in a Table

October 20, 2016
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Trigger

A late-night mail from an old customer about an application error led to this lesson: how to avoid triggers causing trouble with multiple row operations.

Read More
Start SQL Server Agent.

SQL SERVER Management Studio – Why I am Seeing White Icon Instead of Green or Red?

October 19, 2016
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio

SSMS showed a white icon instead of green or red for SQL Server and Agent status, and Start and Stop were disabled. It comes down to your Windows account and WMI.

Read More
Creating and Running an SQL Server Unit Test - Best Ways to Test SQL Queries

Creating and Running an SQL Server Unit Test – Best Ways to Test SQL Queries

October 18, 2016
Pinal Dave
SQL Tips and Tricks
Best Practices, Devart, SQL Scripts, SQL Server

Testing SQL code matters as much as writing it. I show how to create and run a SQL Server Unit Test with tSQLt, the free open source framework.

Read More
Previous 1 … 198 199 200 201 202 203 204 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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