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 travel plug held in front of a wall socket of a different shape, with the right adapter resting on a shelf below

Fast Exports With bcp

July 18, 2010
Pinal Dave
SQL Tips and Tricks
Command Line, CSV, SQL Server, SQL Utility

Fast exports with bcp compares native and character files, shows a format file, and explains where batch size helps and how to check a large export.

Read More
Garden edging with the flowers outside the ring and bare soil inside

Fixing Invalid Geography Polygons and Ring Orientation

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

Diagnose invalid geography polygons with STIsValid and IsValidDetailed, repair with MakeValid, and check ring orientation and EnvelopeAngle.

Read More
SQL SERVER - Datetime Function TODATETIMEOFFSET Example

SQL SERVER – Datetime Function TODATETIMEOFFSET Example

July 16, 2010
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

A quick example of the datetime function TODATETIMEOFFSET in SQL Server, and how it differs from SWITCHOFFSET when offsets change.

Read More
SQL Server offset settings.

SQL SERVER – Datetime Function SWITCHOFFSET Example

July 15, 2010
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts

SWITCHOFFSET changes a datetimeoffset value from its stored time zone offset to a new one. Here is a quick example of how it works in SQL Server 2008.

Read More
Three wooden gauges with finite end stops and fitted measuring bars in a sunlit workshop.

Unsigned Integers: Safe Type and Range Mapping

July 12, 2010
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Datatype, SQL Migration, SQL Server

Map unsigned integers to SQL Server types without narrowing their range. Keep strict source-text validation separate from destination CHECK constraints.

Read More
SQL SERVER - Parallelism - Row per Processor - Row per Thread - Thread 0

SQL SERVER – Parallelism – Row per Processor – Row per Thread – Thread 0

July 11, 2010
Pinal Dave
SQL Tips and Tricks

What does Thread 0 in a parallel execution plan mean? Reader Marko Parkkola gave the best answer: it synchronizes the other threads. Here it is in detail.

Read More
SQL SERVER - The Self Join - Inner Join and Outer Join

SQL SERVER – The Self Join – Inner Join and Outer Join

July 8, 2010
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

Is a Self Join an inner join or an outer join? It can be either. I build a small new example that shows Self Join as inner join and outer join.

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

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