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
An overfilled teacup with tea spilled into its saucer and a red spoon.

Row Overflow Data: Finding Rows That Spill Past 8,060 Bytes

June 29, 2013
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Datatype, SQL Server

Find row overflow data pages in wide SQL Server tables, identify large VARCHAR values and rows, and measure their extra read cost.

Read More
SQLCMD Mode.

SQL SERVER – How to Set Variable and Use Variable in SQLCMD Mode

June 28, 2013
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio, sqlcmd

A reader asked how to pass a different table name each time in SSMS. I show how to set and use a variable in SQLCMD mode with :SETVAR, step by step.

Read More
SQL SERVER - Another lesser known feature of SQL Server Management Studio 2012 - Guest Post by Balmukund Lakhani

SQL SERVER – Another lesser known feature of SQL Server Management Studio 2012 – Guest Post by Balmukund Lakhani

June 27, 2013
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio

Balmukund Lakhani shows another lesser known feature of SQL Server Management Studio 2012, hidden in the Connect to Server screen you see every day.

Read More
Two twin lambs in a field, a hand parting the wool on one to reveal a small red mark

Comparing Two Copies of a Table With CHECKSUM_AGG and HASHBYTES

June 24, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Migration, SQL Scripts, SQL Server

Use CHECKSUM_AGG for a quick table-copy signal, then compare canonical HASHBYTES values and key ranges to locate real data differences.

Read More
An open pea pod with five peas and an empty stretch at the end beside a red bowl.

LEN vs DATALENGTH: Trailing Spaces, Unicode Bytes and NULL

June 22, 2013
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server, SQL String, Unicode

Compare LEN vs DATALENGTH for trailing spaces, Unicode, UTF-8, NULL, and MAX values before safely resizing SQL Server string columns.

Read More
SQL SERVER - Storing 64-bit Unsigned Integer Value in Database

SQL SERVER – Storing 64-bit Unsigned Integer Value in Database

June 21, 2013
Pinal Dave
SQL Tips and Tricks
SQL Datatype

A reader moving from MySQL to SQL Server had a 64-bit unsigned integer column and no matching data type. Here is how I suggest storing that value.

Read More
Two hourglasses, one dropping coarse pebbles and one pouring fine sand, the fine one on a red base

GETDATE vs SYSDATETIME: Precision of the Current Time

June 20, 2013
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DateTime, SQL Function, SQL Server

Compare SYSDATETIME with GETDATE and UTC time functions, understand datetime rounding, and choose a clear timestamp type and clock contract.

Read More
Previous 1 … 321 322 323 324 325 326 327 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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