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
Three garden sprinklers on separate hoses, all fed from one outdoor tap, each spraying a weak short arc.

Storage Settings That Matter for SQL Server

November 14, 2009
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL Server Configuration, SQL TempDB

Storage settings That Matter for SQL Server include latency, file placement, allocation unit size, and file growth; learn what to verify.

Read More
Sql server management studio.

SQL SERVER – Policy Based Management – Create, Evaluate and Fix Policies

November 13, 2009
Pinal Dave
SQL Tips and Tricks
Database, Policy Management, Software Development, SQL Scripts

A full walk through Policy Based Management in SQL Server 2008: the policy framework, facets and conditions, then creating, evaluating and fixing policies.

Read More
SQL SERVER - Disable CHECK Constraint - Enable CHECK Constraint

SQL SERVER – Disable CHECK Constraint – Enable CHECK Constraint

November 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Index, SQL Scripts

Need to disable CHECK constraint validation for a bulk load? Here is how, and how to enable it again with WITH CHECK CHECK CONSTRAINT, the syntax with CHECK twice.

Read More
Gouache painting: on a sewing table, a slate blue felt rectangle and a cream felt rectangle were overlapped by half and pinned

geometry STSymDifference: Keep the Parts Outside the Overlap

November 11, 2009
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function, SQL Scripts, SQL Server

geometry STSymDifference keeps points belonging to either input while excluding their shared portion. I use it when both sides’ exclusive regions matter. Directed subtraction would answer a different question about only one side.

Read More
Detailed painting of three matching cup-and-teapot pairs, one on a table, one in a wooden tray, and one on a fixed open shelf.

Derived Table, CTE or View: Choose the Scope

November 10, 2009
Pinal Dave
SQL Tips and Tricks
CTE, SQL Scripts, SQL Server, SQL Sub Query

A derived table, CTE and view can express the same grouped result while offering different scopes. Compare complete outputs with duplicates and NULLs, then choose a statement-local expression or a saved definition for the task.

Read More
Index Seek (NonClustered).

SQL SERVER – Removing Key Lookup – Seek Predicate – Predicate – An Interesting Observation Related to Datatypes

November 9, 2009
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

Seek Predicate beats Predicate. An observation from a query optimization project on removing key lookup and how datatypes decide which one you get.

Read More
Execution plan of SQL Server query.

SQL SERVER – Stored Procedure are Compiled on First Run – SP taking Longer to Run First Time

November 8, 2009
Pinal Dave
SQL Interview Questions and Answers
SQL Cache, SQL Scripts, SQL Stored Procedure

Why does a stored procedure take longer the first time? Stored procedures are not pre-compiled; each one is compiled on first run and cached after that.

Read More
Previous 1 … 674 675 676 677 678 679 680 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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