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
Nested brass sleeves reveal successive engine layers

Interview Question of the Week #028 – T-SQL Script to Detect SQL Server Version and Property

July 12, 2015
Pinal Dave
SQL Tips and Tricks

Detect SQL Server version with structured SERVERPROPERTY values, map major releases, inspect update level, and confirm the host platform.

Read More
Gouache painting: an open wooden cupboard holding one glass jar with a lid and a single vermilion mango inside it, every other shelf empty

PostgreSQL Local Variable: DECLARE in a plpgsql Function

July 11, 2015
Pinal Dave
SQL Tips and Tricks
PostgreSQL, SQL Function, SQL Scripts, SQL Variable

A PostgreSQL local variable is declared in the DECLARE section of a plpgsql function or DO block. This post tests a function with two variables, the NULL start value, scope, CONSTANT, STRICT, a name clash error and the psql alternative.

Read More
Sql server result window.

SQL SERVER – Puzzle – Working with functions to Concatenate columns

July 10, 2015
Pinal Dave
SQL Puzzle

A code review puzzle: 15 fields joined with ISNULL on every column. Can you concatenate columns with NULL values in a simpler way using SQL Server functions?

Read More
SQL SERVER - Using Project Connections in SSIS - Notes from the Field #088

SQL SERVER – Using Project Connections in SSIS – Notes from the Field #088

July 9, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server, SSIS

Connection managers are the gateway for most SSIS reads and writes. In Notes from the Field #088, Tim Mitchell explains how to use Project Connections in SSIS.

Read More
A small seaplane moored at a lake jetty at dawn, a hand holding the mooring line before untying it

Pre-Flight Checks at the Top of a Script With THROW

July 8, 2015
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Learn pre-flight checks with practical SQL Server examples, clear checks, and the limits you need before changing application data.

Read More
Object locking portion on bdi.

SQL SERVER – Identifying Blocking Chain Using SQL Scripts

July 7, 2015
Pinal Dave
SQL Tips and Tricks

A roundup of my earlier posts on blocking, plus a SQL script using sys.dm_os_waiting_tasks to identify the blocking chain and see who is waiting for whom.

Read More
SQL server select statement.

SQL SERVER – Creating Dataset Using VALUES Clause Without Creating A Table

July 6, 2015
Pinal Dave
SQL Tips and Tricks

You can use the VALUES clause to build a small dataset like a table without creating one. Here is the syntax, which works from SQL Server 2008 onwards.

Read More
Previous 1 … 366 367 368 369 370 371 372 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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