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 line of watering cans by a greenhouse door, the first one vermilion

Run a Stored Procedure at Startup in SQL Server

October 16, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure, Starting SQL

To run a stored procedure at startup, create it in the master database and mark it with sp_procoption. This post builds a demo that writes one row every time the instance starts. It also covers the rules, how to check the setting, and how to turn it off again.

Read More
A closed workshop cabinet sits beside a loose hinge pin and wooden mallet

Can You DROP Offline Database? – Interview Question of the Week #144

October 15, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server

Can you drop offline database in SQL Server? Yes, you can. Many DBAs I interviewed thought otherwise, so here is the full answer.

Read More
SQL SERVER - Empty Startup Parameters in SQL Server Configuration Manager

SQL SERVER – Empty Startup Parameters in SQL Server Configuration Manager

October 14, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, Starting SQL

Configuration Manager showed Empty Startup Parameters when I tried to change the ERRORLOG location in my lab. Here is where they are stored and how to fix it.

Read More
Sql server error message dialog.

SQL SERVER – Msg 1038 – An Object or Column Name is Missing or Empty. For SELECT INTO Statements, Verify Each Column Has a Name

October 13, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Creating a login in SSMS failed with Msg 1038: an object or column name is missing or empty. Profiler showed the real cause. Here is what went wrong.

Read More
A weathered sealed case remains on its shelf beside an empty transport tray.

SQL SERVER – RETAINDAYS Does Not Delete Backup After x Days

October 12, 2017
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server

RETAINDAYS sets backup expiration for overwrite checks, without deleting the file. I keep SQL expiration separate from Windows file cleanup.

Read More
Illustrated cover: 5 Don'ts After Corruption

SQL SERVER – 5 Don’ts When Database Corruption is Detected

October 11, 2017
Pinal Dave
SQL Tips and Tricks
Database Corruption, SQL Backup and Restore, SQL Scripts, SQL Server

Here is an email I received about database corruption and that has lead me to write this quick blog post about database corruption. 

Read More
A radio mast on a hillside at dawn with its feeder cable disconnected and coiled at the base.

SQL SERVER – Unable to Start SQL Server – TDSSNIClient Initialization Failed with Error 0x2, Status Code 0x38

October 9, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Starting SQL

SQL Server would not start: TDSSNIClient initialization failed with error 0x2, status code 0x38. Process Monitor and the SuperSocketNetLib key helped.

Read More
Previous 1 … 147 148 149 150 151 152 153 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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