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 hand weighing one brick on a spring scale in front of a large pallet of identical bricks

Estimating vector Column Storage Before Loading Embeddings

January 7, 2020
Pinal Dave
SQL Tips and Tricks
AI, SQL Data Storage, SQL Datatype, SQL Server

Estimate vector column storage from dimensions, measure DATALENGTH and table allocation, and separate payload bytes from page overhead.

Read More
Gouache painting of a picnic blanket pinned down at its corners by stones, one of them vermilion

LPIM in Configuration Manager: Enable Lock Pages in Memory

January 7, 2020
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Server 2019, SQL Server Configuration, SQL Server Services

You can set LPIM in Configuration Manager without editing the local security policy by hand. This post shows where the property sits, how to read it from PowerShell, and how to check the result with T-SQL after the restart. It also explains why a memory cap comes first.

Read More
A preparation lever is inspected separately from an empty storage bin and prepared tiles.

SQL SERVER 2019 – How to Turn On or Enable Instant File Initialization?

January 6, 2020
Pinal Dave
SQL Performance
SQL Server, SQL Server 2019, SQL Server Configuration

SQL Server 2019 Configuration Manager provides an interface for instant file initialization. My lab also used it with SQL Server 2017.

Read More
An outdoor lamp remains connected to a remote source through an extension cable

How to Map Network Drive as Fixed Drive? – Interview Question of the Week #258

January 5, 2020
Pinal Dave
SQL Interview Questions and Answers
Computer Network, SQL Command, SQL Scripts, SQL Server, SQL Stored Procedure

Question: How to Map Network Drive as Fixed Drive in SQL Server?
love little problems like this one as they are indeed a lot of fun to resolve. 

Read More
A single made-up guest bed facing a long row of sleeping bags in the hall.

Table Variable Deferred Compilation: Before and After SQL Server 2019

January 4, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server 2019, Temp Table

Compare table variable deferred compilation at compatibility levels 140 and 150, then decide when a temporary table gives better estimates.

Read More
Title card: Backed Up on a Server Running Version 15.00.2000

SQL SERVER – SQL Azure Managed Instance Restore Error – The Database Was Backed Up on a Server Running Version 15.00.2000

January 3, 2020
Pinal Dave
SQL Tips and Tricks
SQL Azure, SQL Backup and Restore, SQL Error Messages, SQL Server

One of my clients migrated to SQL Azure Managed Instance and contacted me for an interesting situation. Let us resolve Restore Error.

Read More
Gouache painting of a vermilion triangle block resting in a wooden ring beside sage cubes and cream rings on a playroom rug

ISNUMERIC Function Returns 1 for 12e5: What to Use Instead

January 2, 2020
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL String

The ISNUMERIC function returns 1 for strings that are not plain numbers, such as 12e5, a lone dollar sign and a lone plus. This post shows what it accepts, why, and which tests to use instead. It covers TRY_CAST and its blank string quirk, TRY_PARSE, and the digit pattern checks readers suggest.

Read More
Previous 1 … 129 130 131 132 133 134 135 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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