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 - 2008 - Introduction to Merge Statement - One Statement for INSERT, UPDATE, DELETE

SQL SERVER – 2008 – Introduction to Merge Statement – One Statement for INSERT, UPDATE, DELETE

August 28, 2008
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

The SQL Server 2008 Merge Statement does INSERT, UPDATE and DELETE in one statement and reads the data only once. An introduction to how it works and its syntax.

Read More
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
An painting shows a branching vine supported by a walnut trellis beside neatly arranged brass clips.

Recursive CTE Performance: Index the Child Lookup

August 25, 2008
Pinal Dave
SQL Performance
SQL Index, SQL Performance, SQL Scripts

Recursive CTE performance depends on finding the next children efficiently. Compare identical rows and actual plans before accepting an index change.

Read More
SQLAuthority News - 4 Million Visits - over 675 SQL Server Articles

SQLAuthority News – 4 Million Visits – over 675 SQL Server Articles

August 25, 2008
Pinal Dave
SQLAuthority News
Database, DBA, MVP, SQL User Group

Thank you to every reader: this blog has reached 4 Million Visits and over 675 SQL Server articles, and I was awarded SQL MVP along the way.

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
Previous 1 … 749 750 751 752 753 754 755 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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