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 long blue ribbon with a notched end lies beside a closed walnut box and red cord.

LEFT Boundaries: Zero, Oversized Length and Missing Text

April 7, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server, SQL String

LEFT boundaries keep empty prefixes separate from missing values. Eight short Unicode cases expose zero, oversized and missing lengths. A separate invalid request shows why negative lengths need validation.

Read More
SQL SERVER - Logical Query Processing Phases - Order of Statement Execution

SQL SERVER – Logical Query Processing Phases – Order of Statement Execution

April 6, 2009
Pinal Dave
SQL Tips and Tricks
Database, Software Development, SQL Joins

Logical Query Processing is the order in which SQL Server handles each clause of a statement, with FROM and ON first and SELECT near the end. Here are the phases.

Read More
Gouache painting: on a kitchen counter one moka pot stands fully assembled from its three parts: base, funnel basket and top chamber

DATEFROMPARTS: Build Dates With Explicit Components

April 5, 2009
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Server

DATEFROMPARTS avoids ambiguous text assembly. Preserve year, month and day inputs while separating missing components from invalid calendar dates.

Read More
SQL SERVER - Mirrored Backup and Restore and Split File Backup

SQL SERVER – Mirrored Backup and Restore and Split File Backup

April 5, 2009
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts

From a real project: conventional backup and restore, split file backup when a disk runs short of space, mirror file backup, and the FORMAT clause.

Read More
Gouache painting: on a wooden floor, two open cloth sacks hold small square bean bags in red, blue, green and gray

EXCEPT: Compare Distinct Sets Including NULL

April 4, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

EXCEPT returns distinct left-side rows absent on the right. Compare direction, duplicates and NULL equality using complete small result sets.

Read More
SQLAuthority News - Launch of Gandhinagar SQL Server User Group

SQLAuthority News – Launch of Gandhinagar SQL Server User Group

April 3, 2009
Pinal Dave
SQLAuthority News
Database, DigiCorp, MVP, SQL User Group, SQLAuthority Author Visit

The launch of Gandhinagar SQL Server User Group on March 27, 2009 drew over 50 database enthusiasts, and we even ran out of chairs. Register at the portal.

Read More
Three nested storage boxes of decreasing size on a shelf, each with a dated label

What Is a Database Backup? Full, Differential, Log

April 2, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Backup and Restore, SQL Server

A database backup comes in three kinds and they work together. Measured sizes for full, differential and log, why the recovery model decides everything, and the restore order that cannot be improvised.

Read More
A hand lifts the last dark log from an old firewood bay into a canvas bag already holding dark logs and one pale log.

FIFO Inventory Costing in T-SQL: Matching Sales to Purchase Lots

April 1, 2009
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Joins, SQL Scripts, Temp Table

Which purchase lot paid for which sale? Two running totals and one join answer it, with no cursor and no loop.

Read More
Statement completion options.

SQL SERVER – IntelliSense Does Not Work – Enable IntelliSense

March 31, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Management Studio, SQL Utility

IntelliSense in SQL Server 2008 not showing suggestions? Four ways to Enable IntelliSense, starting with connecting to a 2008 instance and checking Tools, Options.

Read More
A tall woodpile against a cottage wall with space left for more, an axe in the chopping block, frost on the grass.

Planning for Data Growth

March 30, 2009
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Backup and Restore, SQL Data Storage

Planning for data growth uses backup and file trends, workload events, storage lead times, and a dated request for more capacity.

Read More
Previous 1 … 495 496 497 498 499 500 501 … 590 Next
  • Books
  • Testimonials
  • Privacy Policy

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