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 - Viewing User Configurable Info in SQL Server

SQL SERVER – Viewing User Configurable Info in SQL Server

February 9, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts

A reader asked about sp_user_counter1 to 10 for debugging. I show how sp_trace_generateevent raises events you can watch as User Configurable info.

Read More
A letter slot seen from inside a front door, with a fine metal cage fitted behind it.

SQL SERVER – One Trick of Handling Dynamic SQL to Avoid SQL Injection Attack?

February 6, 2015
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Scripts, SQL Server, SQL Server Security

SQL Injection is not a SQL Server problem, it comes from coding habits. Here is one trick of handling dynamic SQL to avoid SQL injection attack on a search page.

Read More
SQL SERVER - FIX - Error 3201 - Cannot open backup device. Operating system error 3

SQL SERVER – FIX – Error 3201 – Cannot open backup device. Operating system error 3

January 30, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

BACKUP DATABASE failed with Error 3201, cannot open backup device, operating system error 3. The cause was a missing default folder. Here is the fix.

Read More
An old wooden comb on a bathroom shelf with gaps where some of its teeth have broken off.

Gaps and Islands: Finding Missing Ranges in a Sequence

January 27, 2015
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL DateTime, SQL Scripts, SQL Server

Solve gaps and islands with LEAD, ROW_NUMBER, and GENERATE_SERIES, then apply the same date patterns to missing days and login streaks.

Read More
Gouache painting: a small wooden coat rack in a hallway with every peg full and a stack of folded coats leaning against the wall, one last coat in a basket with nowhere to hang; one vermilion scarf on the basket coat

Insufficient System Memory: Msg 701 in a Resource Pool

January 26, 2015
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, Resource Governor, SQL Error Messages, SQL Memory, SQL Scripts

Msg 701 reports insufficient system memory in a resource pool. This post reproduces it safely with a memory-optimized table on SQL Server 2025, shows the second message you get when the rows fill the pool, and lists the fixes that worked.

Read More
Different materials sorted into clear jars

Interview Question of the Week #004 – List All Columns and Their Data Type for a View

January 25, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts

Inspect a view’s columns and their data type with SQL Server catalogs, result-set metadata, and checks for stale view definitions.

Read More
Gouache painting: a pantry shelf with one wooden crate fenced off by a rope barrier and filled with pears, the other shelves open and crowded; one vermilion ribbon tied on the fenced crate

Bind Resource Governor to a Memory-Optimized Database

January 24, 2015
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, Resource Governor, SQL Memory, SQL Scripts

To bind Resource Governor to a memory-optimized database, you create a pool, bind it with one stored procedure and restart the database. This post runs each step on SQL Server 2025, proves the binding with the pool memory, and restores the server.

Read More
Previous 1 … 169 170 171 172 173 174 175 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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