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
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
A wooden mannequin in a red helmet slides safely down a railed slide while another gives a thumbs up

Stop Blaming the User: Let Constraints Catch Bad Data

July 23, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Developer, SQL Constraint and Keys, SQL Humor

Blaming the user is the oldest joke in IT. Here’s why it fails, and how NOT NULL, CHECK, UNIQUE and foreign keys stop bad data before it lands.

Read More
Rich still life of an open blank folio with a red bookmark and four closed slate and sage books.

Keyset Paging: Continue After a Date and ID Cursor

July 21, 2010
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Index, SQL Performance, SQL Server

Keyset paging continues after a saved ordering key instead of counting past an offset. A date and unique ID together keep equal-date rows in the sequence. A guarded disposable fixture makes the boundary conditions explicit.

Read More
SQL SERVER - SELECT * FROM dual - Dual Equivalent

SQL SERVER – SELECT * FROM dual – Dual Equivalent

July 20, 2010
Pinal Dave
SQL Tips and Tricks
Oracle

Oracle developers often miss the DUAL table in SQL Server. I explain what DUAL is, why SELECT * FROM dual fails with Msg 208, and the dual equivalent to use.

Read More
Previous 1 … 426 427 428 429 430 431 432 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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