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
Five cream, sage and slate-blue ceramic cups on a pale shelf, beside a terracotta pebble.

GREATEST and LEAST: Find Row Extremes With NULLs

August 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL NULL, SQL Server

GREATEST and LEAST compare several expressions within one row. These typed decimal examples show negative numbers, ties, partial NULLs and an entirely missing row.

Read More
Gouache painting: two matching polished bronze spheres sit side by side on a foundry bench, identical outside in size and color

SQL_VARIANT_PROPERTY: Inspect Decimal Precision and Scale

August 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

SQL_VARIANT_PROPERTY makes underlying types visible. Inspect explicit decimal widths, int, Unicode capacity and a missing variant value.

Read More
SQL Server Management Studio query window.

SQL SERVER – How to Rename a Column Name or Table Name

August 26, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

How to rename a column or a table in SQL Server with sp_RENAME, with a video and a simple AdventureWorks example for each case.

Read More
SQL SERVER - Fix : Error : 40 - could not open a connection to SQL server - Fix Connection Problems of SQL Server

SQL SERVER – Fix : Error : 40 – could not open a connection to SQL server – Fix Connection Problems of SQL Server

August 24, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

Still stuck on Error 40, could not open a connection to SQL server? Here are more suggestions to fix connection problems, beyond my first two articles.

Read More
Mail Configuration Wizard.

SQL SERVER – 2008 – Configure Database Mail – Send Email From SQL Database

August 23, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Utility

Configure Database Mail in SQL Server 2008 in three steps: create a profile and account, configure email, then send email. Video and screenshots included.

Read More
SQL Server Management Studio query window for Adventure Works database.

SQL SERVER – UDF – Function to Convert Text String to Title Case – Proper Case – Part 2

August 22, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Part 2 on Proper Case in SQL Server: a quick script that makes only the first letter of a sentence upper case, and how to do it for a table column.

Read More
A dock worker holding a coiled rope beside an empty mooring while a small ferry is still far out on the water

Spotting Agent Jobs That Run Longer Than Usual

August 21, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Monitoring, SQL Server, SQL Server Agent

Spot Agent jobs that run longer than usual by decoding msdb duration, comparing recent runs, and checking jobs still active now.

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

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