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 - How to Find Out When Your SQL Login Will Expire?

SQL SERVER – How to Find Out When Your SQL Login Will Expire?

September 27, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Login, SQL Scripts, SQL Server, SQL Server Security

A client wanted a script to show when each SQL login will expire. LOGINPROPERTY makes it easy on SQL 2008 onwards. Here is the query I used.

Read More
Sql server update tool window.

SQL SERVER – Patch Installation Error: The version of SQL Server instance does not match the version

September 26, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Installation

Applying a patch is something which is part of everyone’s life in the software industry. One of my clients reported below error related to Patch Installation Error.

Read More
A grain bin has a small occupied layer and much more available capacity above it

Identify Used Space in Log File- Interview Question of the Week #090

September 25, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Server DBCC, Transaction Log

Question: How to identify Used Space in Log File?

Answer: Use following command to display used log file size and total used space in the log file.

Read More
PowerShell - Reading Tables Data Using Script

PowerShell – Reading Tables Data Using Script

September 24, 2016
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Server, SQL Table Operation

Read-SqlTableData is a PowerShell cmdlet for reading tables data from SQL Server without writing a query. Here is how I tried it on my box.

Read More
Source trays have related fitted results, while one source remains beside an empty result recess.

SQL SERVER – How to Join a Table Valued Function with a Database Table

September 23, 2016
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

I use APPLY to Join a Table Valued Function with rows from another table. The example passes each customer’s delivery city.

Read More
Illustrated cover: AUTO_CLOSE: Turn It Off

SQL SERVER – Set AUTO_CLOSE Database Option to OFF for Better Performance

September 22, 2016
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server Configuration, SQL Server Management Studio

How I helped a customer get better performance by setting the AUTO_CLOSE Database Option to OFF, and why this setting hurts busy databases.

Read More
Gouache painting of a brass service bell with a red felt cap on a flower shop counter in front of buckets of tulips

SET NOCOUNT ON in SQL Server: How to Hide Rows Affected Messages

September 21, 2016
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server Management Studio, SQL Stored Procedure

SET NOCOUNT ON stops SQL Server from sending a rows affected message after every statement. This post tests what it changes and what it doesn’t: @@ROWCOUNT, scope inside a procedure, timing and the text that sp_updatestats prints. It also covers client programs that depend on the count.

Read More
Previous 1 … 302 303 304 305 306 307 308 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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