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 - Order of Columns in Update Statement Does not Matter

SQL SERVER – Order of Columns in Update Statement Does not Matter

March 5, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts

Does the order of columns in UPDATE statements matter? No. Setting Col1 before Col2 or the other way round gives the same result in SQL Server.

Read More
Illustrated cover: TRUNCATE Can Roll Back

SQL SERVER – Rollback TRUNCATE Command in Transaction

March 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, Transaction Log

Many believe TRUNCATE cannot be rolled back. It can. Here is a Rollback TRUNCATE command example inside a transaction, and why TRUNCATE is logged.

Read More
Insert alogn with Top (N)

SQL SERVER – INSERT TOP (N) INTO Table – Using Top with INSERT

February 27, 2010
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts

INSERT TOP (N) INTO a table is not the same as INSERT with SELECT TOP (N). My example from a client training shows how the two methods differ.

Read More
QUOTENAME object names illustrated by a wooden tray divided into two compartments, with slate-blue and sage blocks.

QUOTENAME Object Names: Quote Each SQL Server Name Part

February 26, 2010
Pinal Dave
SQL Tips and Tricks
Developer, SQL Function, SQL Server, SQL String

QUOTENAME object names separately to keep each part of a qualified SQL Server name intact. The function surrounds its entire input with identifier delimiters. A dot inside that input stays inside one quoted name. I keep the schema and object in separate variables.

Read More
SQL SERVER - Introduction to Rollup Clause

SQL SERVER – Introduction to Rollup Clause

February 24, 2010
Pinal Dave
SQL Tips and Tricks
Business Intelligence, SQL Scripts, SQL Server

An introduction to the Rollup Clause in SQL Server, which aggregates at several levels of a hierarchy. A population table by country, state and city shows how.

Read More
dataminig

Data Mining Algorithms (Analysis Services – Data Mining)

February 23, 2010
Pinal Dave
SQL Tips and Tricks
Business Intelligence, Data Warehousing, SQL Documentation, SQL Server

I quite often receive requests for the Data Mining Algorithms details. Book Online has wonderful resources for the same. I suggest to read them here.

Read More
Gouache painting: on a dyer's table, a slate-blue silk square partly overlaps a cream one, the shared corner showing a blended deeper tone while each square extends beyond it

geometry STOverlaps: Intersection Alone Is Not Enough

February 22, 2010
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function, SQL Scripts, SQL Server

geometry STOverlaps asks a narrower question than whether two shapes share any points. I test equal and contained regions alongside a partial overlap. Those intersecting cases do not all satisfy the method’s overlap definition.

Read More
Previous 1 … 440 441 442 443 444 445 446 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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