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 - Inserting into Sparse Column Sets and Errors Associated With It

SQL SERVER – Inserting into Sparse Column Sets and Errors Associated With It

July 27, 2015
Pinal Dave
SQL Tips and Tricks
SPARSE Columns, SQL Scripts

You can write to sparse column sets directly, not just read them. I show how to insert into column sets and the errors you hit without an explicit column list.

Read More
SQL SERVER - FIX – Property IsLocked is Not Available for Login

SQL SERVER – FIX – Property IsLocked is Not Available for Login

July 24, 2015
Pinal Dave
SQL Tips and Tricks
SQL Lock, SQL Scripts

Opening sa login properties in SSMS failed with Property IsLocked is not available for Login. I used Profiler to find the query returning NULL, and here is the fix.

Read More
Gouache painting: a long wooden shelf with a row of potted plants arranged from shortest to tallest; the plant exactly in the middle sits in a vermilion pot

SQL SERVER – What are T-SQL Median? – Notes from the Field #090

July 23, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Function

SQL Server has no MEDIAN function. Kathi Kellenberger explains what a median is and how to calculate a T-SQL median in Notes from the Field #090.

Read More
A scale model of a house on a table with the real house visible through the window behind it

Test Data That Looks Like Production

July 22, 2015
Pinal Dave
SQL Tips and Tricks
DBA, SQL Sample Database, SQL Server Security, Testing

Test data that looks like production matches distributions, relationships, and volume without copying sensitive values into development.

Read More
SELECT results for a query on SQL Server permissions.

SQL SERVER – FIX – Server principal ‘Login Name’ has granted one or more permission(s). Revoke the permission(s) before dropping the server principal

July 21, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Security

DROP LOGIN failed with Msg 15173 because the login had granted one or more permission(s) after an AlwaysOn cleanup. Here is how to find and revoke them.

Read More
SQL SERVER - Fix - Error: Msg 468, Level 16, State 9, Line 1

SQL SERVER – Fix – Error: Msg 468, Level 16, State 9, Line 1

July 20, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 468 says SQL Server cannot resolve the collation conflict between two columns. I explain why it shows up, including with temp tables, and how to fix it.

Read More
PowerShell: How to Find Logical and Physical Processors on SQL Server?

PowerShell: How to Find Logical and Physical Processors on SQL Server?

July 18, 2015
Pinal Dave
SQL Tips and Tricks
PowerShell

With core based licensing, a DBA friend asked how to count cores. Here is a PowerShell script using WMI to find logical and physical processors on SQL Server.

Read More
Previous 1 … 227 228 229 230 231 232 233 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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