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 tray of cookies in rows with a few missing, fallen to the floor

SEQUENCE Cache Size, Gaps and Insert Throughput

June 9, 2011
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Constraint and Keys, SQL Identity, SQL Server

Compare SEQUENCE cache size, restart gaps, rollback gaps, and insert throughput with CACHE 50, CACHE 1000, and NO CACHE.

Read More
A small wooden sieve beside neatly sorted beans and a separate imperfect bean on a table.

Data Quality Checks Worth Running After Every Load

June 8, 2011
Pinal Dave
SQL Tips and Tricks
Best Practices, Data Warehousing, Database, ETL

Run data quality checks for missing values, duplicate keys, invalid ranges, and count reconciliation before promoting a loaded batch to production.

Read More
Gouache painting: a taut linen thread runs around three wooden pegs set in a board, bending at the second peg into an L-shaped path

geometry STPointN: Read a One-Based Point Position

June 7, 2011
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geometry STPointN selects a point from an instance. The example keeps its one-based position visible and returns NULL when the requested position exceeds the line point count.

Read More
An old paraffin lamp beside a new rechargeable lantern on a porch step

T-SQL Features Added in Recent Versions

June 5, 2011
Pinal Dave
SQL Tips and Tricks
Compatibility Level, JSON, SQL Function, SQL Server, SQL Server 2022

T-SQL features added in recent SQL Server versions shorten common date, comparison, string, and JSON patterns when deployed deliberately.

Read More
Two identical mittens knitted from the same pattern, one still on the needles

Building a Test Server From a Script

June 5, 2011
Pinal Dave
SQL Tips and Tricks
DBA, PowerShell, SQL Server Installation, Testing

Build a test server from a script with unattended SQL Server setup, repeatable configuration, and sample data that can be reset after each run.

Read More
A cut rose branch with thorns, pruning shears and a clay pot on a greenhouse workbench.

REGEXP_REPLACE Text Cleanup: Replacing Tags Is Not Parsing HTML

June 3, 2011
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

REGEXP_REPLACE can remove controlled tag-like text, but that is not the same as parsing HTML. Test quoted brackets, surviving script text and word boundaries before deciding whether the replacement fits the input.

Read More
Database Properties Window.

SQL SERVER – Creating All New Database with Full Recovery Model

June 1, 2011
Pinal Dave
SQL Tips and Tricks

A reader wanted every new database created with the full recovery model and was weighing policies, triggers and jobs. There is a much simpler solution.

Read More
Previous 1 … 396 397 398 399 400 401 402 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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