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
A play kitchen shelf stocked with handmade felt food, many eggs, fewer carrots and one red felt fish.

Building Demo Data With GENERATE_SERIES

December 4, 2017
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Sample Database, SQL Server, Testing

Build demo data with GENERATE_SERIES, weighted categories, customer skew, random amounts, and validation that preserves repeatable tests.

Read More
The latest peg in one tray is marked while other trays have their own recent pegs

When to Use IDENT_CURRENT? – Interview Question of the Week #150

December 3, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Identity, SQL Scripts, SQL Server

When should you use IDENT_CURRENT instead of SCOPE_IDENTITY()? A question I heard at the Group By conference, answered with the key difference.

Read More
SQL SERVER - Backup to URL error: Operating system error 50(The request is not supported.)

SQL SERVER – Backup to URL error: Operating system error 50(The request is not supported.)

December 2, 2017
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages, SQL Server, Windows

Backing up a database to Azure gave me a backup to URL error: Operating system error 50, the request is not supported. Here is the cause and the fix.

Read More
SQL SERVER - Execution Failed. See the Maintenance Plan and SQL Server Agent Job History Logs for Details

SQL SERVER – Execution Failed. See the Maintenance Plan and SQL Server Agent Job History Logs for Details

December 1, 2017
Pinal Dave
SQL Tips and Tricks
Maintenance Plan, SQL Error Messages, SQL Server

My client ran a new Maintenance plan for full and log backups and it failed at once. The reason was two subplans in one plan. Here is how to run them.

Read More
Two matching enamel dials side by side in a dark wooden case on a bench

SQL SERVER – AlwaysOn Availability Groups: Script to Sync Logins Between Replicas?

November 30, 2017
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Error Messages, SQL Login, SQL Server, SQL Server Security

A script to sync logins between availability group replicas, keeping the SID so users do not orphan on failover. What to copy and what to check after.

Read More
Loose cords entering a cable comb and leaving with consistent spacing

Collapsing Repeated Spaces and Line Breaks With REGEXP_REPLACE

November 29, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, Command Line, SQL Server

Tabs, line breaks and a sneaky character 160 can all hide in a name that looks fine. Here is how to clean them on purpose.

Read More
Set autogrowth to maxsize in sql server database.

SQL SERVER – Msg 1105 – Could Not Allocate Space for Object Name in Database ‘DB’ Because the ‘PRIMARY’ Filegroup is Full

November 28, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Log, SQL Scripts, SQL Server

Msg 1105 says SQL Server could not allocate space for an object because the PRIMARY filegroup is full, even with free disk. Here is how to reproduce and fix it.

Read More
Previous 1 … 145 146 147 148 149 150 151 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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