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
The same two sieve frames appear in reversed positions in adjacent workshop channels.

SQL SERVER – Order of Conditions in WHERE Clause

June 8, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

Conditions in a WHERE clause don’t define a short-circuit evaluation sequence. I inspect actual behavior instead of relying on text order.

Read More
A flashlight beam from the top of cellar stairs lighting an old boiler, pipes and a shelf of jars.

Three Scripts for a First Look at Any Server

June 6, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL DMV, SQL Server, SQL Server Configuration

A first look at any server needs three read-only T-SQL checks: configuration, databases and backups, and current activity.

Read More
SQL SERVER - Create a Comma Delimited List Using SELECT Clause From Table Column

SQL SERVER – Create a Comma Delimited List Using SELECT Clause From Table Column

June 4, 2008
Pinal Dave
SQL Tips and Tricks
CSV, Database, SQL Function, SQL Scripts, SQL Server, SQL Stored Procedure

I received following question in email : How to create a comma delimited list using SELECT clause from table column?

Read More
An oak supply tray has an empty compartment beside its standard fitting, while existing filled compartments remain untouched.

SQL SERVER – Create Default Constraint Over Table Column

May 31, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server

A DEFAULT constraint supplies a value when an INSERT omits the column. I test omitted values separately from explicit NULL.

Read More
A row of identical terraced houses at night, each front door a different color, one door bright red.

Naming SQL Server Instances So People Understand Them

May 26, 2008
Pinal Dave
SQL Tips and Tricks
AlwaysOn, Best Practices, DBA, SQL Instance, SQL Server

Naming SQL Server Instances well clarifies default and named installs, survives growth, and makes later server renames less painful.

Read More
PIVOT table example.

SQL SERVER – PIVOT Table Example

May 22, 2008
Pinal Dave
SQL Tips and Tricks
PIVOT and UNPIVOT, SQL Scripts, SQL Server

A PIVOT Table example on AdventureWorks that counts addresses by state, plus why UNPIVOT cannot always give you back the original rows.

Read More
A clear tumbler and a corked glass bottle with a sage ribbon on warm paper.

STRING_ESCAPE JSON Text: Escaping Is Not Serialization

May 20, 2008
Pinal Dave
SQL Tips and Tricks
JSON, SQL Function, SQL Server, SQL String

STRING_ESCAPE JSON text is still text that belongs inside a JSON string. This example compares quotations, backslashes and a newline with complete FOR JSON PATH objects.

Read More
Previous 1 … 383 384 385 386 387 388 389 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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