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
Eight ducks in a row on a pond, some upright and some tail-up, one flipping over with red feet showing

SELECT 7 & 7 or 7 ^ 7: Bitwise XOR, AND and OR on Integers

May 28, 2014
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Operator, SQL Server

Understand bitwise XOR, AND and OR in T-SQL, test and change integer flags, explain two sevens, and compare the newer bit functions.

Read More
SQL SERVER - Fix - Agent Starting Error 15281 - SQL Server blocked access to procedure 'dbo.sp_get_sqlagent_properties' of component 'Agent XPs' because this component is turned off as part of the security configuration for this server

SQL SERVER – Fix – Agent Starting Error 15281 – SQL Server blocked access to procedure ‘dbo.sp_get_sqlagent_properties’ of component ‘Agent XPs’ because this component is turned off as part of the security configuration for this server

May 27, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Agent

SQL Server Agent fails to start with Error 15281 because Agent XPs are turned off? Here is how to enable Agent XPs with sp_configure and start the agent.

Read More
SQL SERVER - Fix: Error: Compatibility Level Drop Down is Empty

SQL SERVER – Fix: Error: Compatibility Level Drop Down is Empty

May 23, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

Fix it when the compatibility level drop down is empty in database properties, with SQL Server 2012 and 2014 on one machine. Cause and fix.

Read More
SQL SERVER - Windows File/Folder and Share Permissions - Notes from the Field #029

SQL SERVER – Windows File/Folder and Share Permissions – Notes from the Field #029

May 22, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security

DBAs often skip Windows security because they are not Windows experts. Brian Kelley explains file, folder and share permissions and why teamwork matters.

Read More
A red-based receipt spike with a few recent slips, a thick bundle of old yellowed slips tied up beside it

Keeping msdb Small With sp_delete_backuphistory

May 21, 2014
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server Agent, System Database

Use sp_delete_backuphistory to control msdb growth, choose a retention window, and schedule weekly SQL Server Agent cleanup.

Read More
A chair caster replacement keeps sound wheels while replacing a worn wheel

Syncing a Lookup Table Without MERGE: Insert, Update, Delete

May 20, 2014
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Table Operation, SQL Transactions

Three plain statements can do the job of MERGE, and each one gives you its own row count. Here is how to build it, test it and trust it.

Read More
SQL SERVER - CTE can be Updated

SQL SERVER – CTE can be Updated

May 19, 2014
Pinal Dave
SQL Tips and Tricks
CTE, SQL Scripts, SQL View

Users often confuse a CTE with a temp table, but a CTE works like a view, and a CTE can be updated just like one. Matthew Spieth’s tip, with my notes.

Read More
Previous 1 … 278 279 280 281 282 283 284 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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