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
Workshop pegboard with neatly arranged tools, standards that keep work organized

SQL SERVER – Database Coding Standards and Guidelines Introduction

June 3, 2007
Pinal Dave
SQL Tips and Tricks
Database, DBA, Software Development, SQL Coding Standards, SQL Download, SQL Scripts, SQL Server

Coding Standards and Guidelines Introduction: after my interview questions series, readers asked for coding standards, so I kept this set short and practical.

Read More
SQL SERVER - 2005 Explanation and Example - SELF JOIN

SQL SERVER – 2005 Explanation and Example – SELF JOIN

June 3, 2007
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

A self join joins a table to itself with table aliases. When to use one, why the joined columns must share a data type, and an employee example.

Read More
A hand using a broom handle to press the test button on a ceiling smoke alarm in a calm hallway

SQL Agent Alerts Every Instance Should Have

June 2, 2007
Pinal Dave
SQL Tips and Tricks
Database Mail, DBA, SQL Error Messages, SQL Server Agent

SQL Agent alerts should route serious severity events and errors 823, 824, and 825 through tested operators and Database Mail.

Read More
A country mailbox with its red flag raised stands at the end of an empty lane in light rain.

Sending Query Results by Email

June 2, 2007
Pinal Dave
SQL Tips and Tricks
Database Mail, DBA, SQL Server Agent, SQL Stored Procedure

Sending query results by email with Database Mail requires clear formatting, tested delivery, safe attachments, and size limits.

Read More
A hand moving a magnifying glass along a shelf of plain matching books, one book pulled halfway out.

Searching Every Stored Procedure for a Word

June 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Scripts, SQL Server, SQL Stored Procedure, SQL System Table

Searching every stored procedure through sys.sql_modules finds text quickly, but comments, case, dynamic SQL, and other databases need care.

Read More
SQL SERVER - 2005 Constraint on VARCHAR(MAX) Field To Limit It Certain Length

SQL SERVER – 2005 Constraint on VARCHAR(MAX) Field To Limit It Certain Length

June 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL String

SQL Server 2005 has no VARCHAR(12500), so how do you cap a VARCHAR(MAX) field at 12500 characters? A constraint on the column does the job.

Read More
SQL SERVER - Retrieve Information of SQL Server Agent Jobs

SQL SERVER – Retrieve Information of SQL Server Agent Jobs

May 31, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Agent, SQL Stored Procedure

sp_help_job returns information about SQL Server Agent jobs in msdb. Run it with no parameters to list every job, plus a few related Agent posts.

Read More
Previous 1 … 812 813 814 815 816 817 818 … 839 Next
  • Books
  • Testimonials
  • Privacy Policy

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