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
A detailed cabinet opens one fitted compartment of wooden cubes for careful inspection.

Troubleshooting Cube Performance: Three Checks

June 6, 2011
Pinal Dave
SQL Performance
SQL Analysis Services, SQL Extended Events, SQL Monitoring, SQL Performance

Diagnose cube performance by comparing the same MDX query, processing changes and resource pressure before choosing a repair.

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 reusable pattern stamp and a hinged working jig serve visibly different tasks.

SQL SERVER – Question to You – When to use Function and When to use Stored Procedure

June 4, 2011
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Server, SQL Stored Procedure

Deciding when to use functions or stored procedures depends on the caller and required work. I want examples behind that choice.

Read More
Previous 1 … 589 590 591 592 593 594 595 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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