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 lifeboat hanging in its davits on a ferry deck, cover tight and ropes coiled, salt dried across the canvas.

What RESTORE VERIFYONLY Checks and What It Misses

October 17, 2007
Pinal Dave
SQL Tips and Tricks
Database Corruption, DBA, SQL Backup and Restore, SQL Server DBCC

RESTORE VERIFYONLY checks backup readability and checksums, but it cannot prove a full restore or healthy data; pair it with restore tests.

Read More
SQL SERVER - Three T-SQL Script to Create Primary Keys on Table

SQL SERVER – Three T-SQL Script to Create Primary Keys on Table

October 16, 2007
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

Three T-SQL scripts to create primary keys: two while creating the table and one with ALTER TABLE later, where the column must first be NOT NULL.

Read More
Gouache painting: seen from above, a square vegetable bed has a triangular notch of bare grass cut into one side

STConvexHull: Enclose a Shape Without Its Indentations

October 16, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

STConvexHull encloses a geometry with its smallest convex hull. Compare a concave polygon, a collinear line and a point using area and membership.

Read More
SQL SERVER - Explanation and Understanding NOT NULL Constraint

SQL SERVER – Explanation and Understanding NOT NULL Constraint

October 15, 2007
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Joins, SQL NULL, SQL Scripts

What a NOT NULL constraint does and two ways to add one: when the table is created, or after the table is created. My example covers both.

Read More
SQL SERVER - Three Rules to Use UNION

SQL SERVER – Three Rules to Use UNION

October 14, 2007
Pinal Dave
SQL Performance
SQL Joins, SQL Scripts, SQL Union clause

The three rules to use UNION from Ben Forta’s T-SQL book: two or more SELECT statements, the same columns in the same order, and compatible data types.

Read More
Gouache painting: in a foundry workshop, an open wooden casting flask holds pressed sand with three clean, differently shaped impressions: round, long oval and square

Describe a Result Set Without Executing Its Query

October 13, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DMV, SQL Scripts

Describe a result set without running the query. Check column names, data types, nullability and declared parameters.

Read More
SQL SERVER - Pre-Code Review Tips - Tips For Enforcing Coding Standards

SQL SERVER – Pre-Code Review Tips – Tips For Enforcing Coding Standards

October 12, 2007
Pinal Dave
SQL Tips and Tricks
Database, DBA, SQL Coding Standards, SQL Scripts

Pre-code review tips for DBAs: why I check stored procedures on our development server every day for coding standards, with a link to my full article.

Read More
Previous 1 2 3 4 5 Next
  • Books
  • Testimonials
  • Privacy Policy

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