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
A new hand plane cutting a single thin curl of shaving from a pine board clamped in a vise

Installing sqlcmd and bcp on a Clean Machine

October 27, 2008
Pinal Dave
SQL Tips and Tricks
Command Line, DBA, SQL Server, SQL Utility, sqlcmd

Installing sqlcmd and bcp on Windows starts with the current Microsoft command line utilities, then PATH and version checks.

Read More
A lit lantern being handed across a stone wall from one pair of hands to another

Handing Over a Database to Another Team

October 26, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Documentation, SQL Server Agent

Handing over a database should include a current map, tested recovery path, access transfer, open risks, and a defined support period.

Read More
A hand setting one red slider on a mixing desk

SQL Server on Virtual Machines: Settings That Matter

October 22, 2008
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL Memory, SQL Server, SQL Server Configuration, Virtualization

SQL Server on virtual machines needs deliberate CPU, memory, NUMA, and storage settings; learn what to inspect before blaming a slow query.

Read More
Gouache painting of a square bolt beside a round nut that does not fit, with the round nut painted red

Incorrect Syntax Near: When Compatibility Level Is the Cause

October 21, 2008
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Error Messages, SQL Scripts

Incorrect syntax near means the parser met a word it did not expect, and a low compatibility level is one cause. This post reproduces the error, shows how to read and raise the level, and covers the other common causes.

Read More
SQL SERVER - Transaction and Local Variables - Swap Variables - Update All At Once Concept

SQL SERVER – Transaction and Local Variables – Swap Variables – Update All At Once Concept

October 20, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security, SQL Transactions

Two ideas with examples: transactions have no effect on local variables, and an UPDATE applies all its changes at once, which lets you Swap Variables in one go.

Read More
SQL SERVER - Get Common Records From Two Tables Without Using Join

SQL SERVER – Get Common Records From Two Tables Without Using Join

October 17, 2008
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts

Sachin wanted common records from two tables without writing a join condition. Imran Mohammed shows how INTERSECT in SQL Server 2005 does it.

Read More
A painting shows a walnut cabinet with nested storage trays and three unlettered wooden keys.

Closure Table: Read and Validate Hierarchy Paths

October 17, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Index, SQL Joins

A closure table stores ancestor and descendant paths. Read those relationships efficiently and compare them with the authoritative parent edges.

Read More
Previous 1 … 490 491 492 493 494 495 496 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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