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
Define Maintenance Task in Maintenance Plan Wizard.

SQL SERVER – Maintenance Plan – Maintenance Cleanup Task not Deleting Files

November 26, 2014
Pinal Dave
SQL Tips and Tricks

A reader’s Maintenance Cleanup Task reported success but old .bak files were never deleted. The maintenance plan log files helped us find the cause.

Read More
SQL SERVER - FIX - The database 'model' is marked RESTORING and is in a state that does not allow recovery to be run

SQL SERVER – FIX – The database ‘model’ is marked RESTORING and is in a state that does not allow recovery to be run

November 25, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts

After a backup restore mistake, SQL Server would not start and ERRORLOG said the database ‘model’ is marked RESTORING. This is how I got it running again.

Read More
Result to CSV.

SQL SERVER – SSMS Trick – Generating CSV file using Management Studio

November 24, 2014
Pinal Dave
SQL Tips and Tricks
CSV, SQL Server Management Studio

Readers asked why use SQLCMD or BCP at all. Generating CSV file output is easy in SSMS: set Results to Text as comma delimited in Tools, Options.

Read More
Invoke-Sqlcmd PowerShell error.

SQL SERVER – FIX – The term ‘Invoke-Sqlcmd’ is not recognized as the name of a cmdlet

November 23, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages

My weekend PowerShell learning hit an error: the term Invoke-Sqlcmd is not recognized as the name of a cmdlet. Here is why it happened and the fix.

Read More
Counters selection window in SQL Server Management Studio.

SQL SERVER – How to use Procedure sp_user_counter1 to sp_user_counter10

November 22, 2014
Pinal Dave
SQL Performance
SQL Stored Procedure

Want to plot your own values, like rows in a table, next to standard PerfMon counters? The procedures sp_user_counter1 to sp_user_counter10 do just that.

Read More
Gouache painting of a row of closed wooden shutters on a plaster wall, with one small shutter opened a hand-width and a vermilion flowerpot on its sill

Msg 230: A Column Level GRANT Overrides a Table DENY

November 21, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

A column level GRANT overrides a DENY on the whole table in SQL Server. A friend challenged my earlier claim that DENY always wins, so I built a repro. The granted column works, and every other column raises Msg 230.

Read More
SQL SERVER - Common Sense Data Security - Notes from the Field #055

SQL SERVER – Common Sense Data Security – Notes from the Field #055

November 20, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security

Kevin Hazzard explains common sense data security for sensitive user information, with humor and real world examples you will recognize.

Read More
Previous 1 … 405 406 407 408 409 410 411 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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