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
Gouache painting: two squares of leather overlapped in the middle of a cutting table, one slate blue and one cream, offset diagonally

geometry STDifference: Keep the Subtraction Direction

July 31, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

geometry STDifference is directional. Two overlapping equal-area rectangles can produce equal remaining areas while retaining entirely different regions.

Read More
Best Practices

SQL Tips – 5 SQL Server Best Practices

July 30, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, DBA, SQL Server

5 SQL Server Best Practices worth a quick check, starting with backing up the master database and testing it, and rebuilding indexes online to cut downtime.

Read More
SQL SERVER - Check Advanced Server Configuration

SQL SERVER – Check Advanced Server Configuration

July 29, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration, SQL Stored Procedure

How do you Check Advanced Server Configuration values? Turn on show advanced options with sp_configure, run RECONFIGURE, then run sp_configure to list them.

Read More
SQL SERVER - Computed Column - PERSISTED and Storage

SQL SERVER – Computed Column – PERSISTED and Storage

July 27, 2010
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Data Storage, SQL Scripts, SQL Server

How a computed column is created and why PERSISTED and storage go together: persisted columns take more space. Plus links to the whole series.

Read More
SQL SERVER – FIX: ERROR: 8170 Insufficient result space to convert uniqueidentifier value to char

SQL SERVER – FIX: ERROR: 8170 Insufficient result space to convert uniqueidentifier value to char

July 26, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Error 8170 says there is insufficient result space to convert a uniqueidentifier value to char. The simple fix is to give the VARCHAR its full 36 characters.

Read More
Rich still life of five upright slate, sage and ivory books beside a leaning book and an oak bookend.

Inclusive End Dates: Why BETWEEN Misses the Last Day

July 25, 2010
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Datatype, SQL DateTime, SQL Server

Inclusive end dates describe whole calendar days, while BETWEEN compares the exact supplied endpoints. A date endpoint becomes midnight when compared with timestamp rows. A guarded disposable fixture makes the boundary conditions explicit.

Read More
A round peeled orange beside its peel pressed flat into split, gapping segments on a cutting board.

Spatial Data Types for Beginners

July 24, 2010
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Datatype, SQL Server, Starting SQL

Spatial data types in SQL Server use geometry for planes and geography for Earth; points, polygons, and indexes start with valid coordinates.

Read More
Previous 1 … 335 336 337 338 339 340 341 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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