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 - Geography Data Type - Calculating Distance Between Two Points on the Earth - Day 18 of 35

SQL SERVER – Geography Data Type – Calculating Distance Between Two Points on the Earth – Day 18 of 35

August 18, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Datatype, SQL Scripts, SQL Server

The Geography Data Type in SQL Server 2008 stores points and areas on the earth and has a built-in function to calculate the distance between two points.

Read More
SQL SERVER - Tips from the SQL Joes 2 Pros Development Series - Sparse Data and Space Used by Sparse Data - Day 17 of 35

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Sparse Data and Space Used by Sparse Data – Day 17 of 35

August 17, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

A Joes 2 Pros tip on sparse data: when a column is almost always NULL, see how much space it still uses and how sparse columns can save it.

Read More
SQL Server Datetime Select Tool Window.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – System and Time Data Types – Day 16 of 35

August 16, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

A Joes 2 Pros tip on system and time data types: why date and time stamps matter so much, with a recap of the DateTime functions.

Read More
Gouache painting of a long loaf sliced into even pieces on a cutting board, one slice set apart on a vermilion napkin.

AI_GENERATE_CHUNKS in SQL Server 2025: Splitting Long Text Into Pieces

August 16, 2011
Pinal Dave
AI
AI, SQL Function, SQL Scripts, SQL String

AI_GENERATE_CHUNKS cuts one long piece of text into smaller pieces inside a query. This post tests the preview function on SQL Server 2025, shows what its columns hold and how overlap works, and explains how chunk size changes the number of pieces.

Read More
Diagram showing SQL Server NULL Block Storage.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Data Row Space Usage and NULL Storage – Day 15 of 35

August 15, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

How much disk will a table need? Learn data row space usage and NULL storage so you can plan space for a table that gets 100,000 rows a day.

Read More
Old record (deleted) New record (inserted).

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Output Clause in Simple Examples – Day 14 of 35

August 14, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

The OUTPUT clause in simple examples: see exactly which rows your INSERT, UPDATE or DELETE changed, using the INSERTED and DELETED tables.

Read More
Ranking Functions with NTILE.

SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Ranking Functions – Advanced NTILE in Detail – Day 13 of 35

August 13, 2011
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

How the NTILE ranking function splits sorted rows into groups, or tiles, explained with a class ranking example from the Joes 2 Pros series.

Read More
Previous 1 … 577 578 579 580 581 582 583 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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