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 - Types of DBCC Commands When Used as Database Console Commands

SQL SERVER – Types of DBCC Commands When Used as Database Console Commands

October 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Server DBCC

The four types of DBCC Database Console Commands: maintenance, miscellaneous, informational and validation, with a couple of examples of each from MSDN.

Read More
Server is configured for RPC.

SQL SERVER – 2005 – Fix : Error : Msg 7411, Level 16, State 1 Server is not configured for RPC

October 18, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Management Studio, SQL Server Security

Msg 7411 says the server is not configured for RPC. A Jr. DBA I am training found the fix on his own: turn the RPC option from False to True.

Read More
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
Previous 1 … 791 792 793 794 795 796 797 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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