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 long pale wooden plank over a triangular support, beside a red wooden cube.

NULLIF Denominators: Keep Zero and Missing Values Visible

July 25, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL NULL, SQL Server

NULLIF denominators turn zero into NULL for a deliberate division policy. This complete example keeps zero, missing inputs and integer truncation visible beside the decimal result.

Read More
Service broker dialog conversion diagram.

SQL SERVER – Change the Port of Service Broker Configuration

July 20, 2008
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Scripts, SQL Server

Service Broker hit error 9692 because another app used its port. Here is how to change the port of Service Broker by creating its endpoint on a new port.

Read More
A wrapped parcel waits safely in a receiving cubby beside a prepared delivery shelf.

SQL SERVER – Introduction to Service Broker

July 18, 2008
Pinal Dave
SQL Tips and Tricks
Database Mail, Service Broker, SQL Server

Service Broker supports transactional asynchronous messaging within SQL Server. I separate queued work from the application that processes it.

Read More
Several plain paper folders arranged in a small wooden tray beside a closed notebook.

Organising Notes You Have Already Written

July 18, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Learn to organise notes around problems, useful search terms, and review dates so earlier SQL Server work becomes easy to find and trust.

Read More
An open conservatory control cabinet reveals plain brass valves and carefully routed pipes.

SQL SERVER – SP_CONFIGURE – Displays or Changes Global Configuration Settings

July 13, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration, SQL Server Security

The global configuration list shows configured and effective SQL Server settings. I compare both before deciding that a change has taken effect.

Read More
SQL SERVER - 2008 - User Account - sa or sysadmin

SQL SERVER – 2008 – User Account – sa or sysadmin

July 12, 2008
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Security

SQL Server 2008 treats sysadmin as the modern home for the old sa account rights. Here is what changed and why sa now needs a password.

Read More
A long looped slate-blue ribbon with ceramic beads and tassels at its ends beside a short gray ribbon.

REVERSE: Keep Trailing Spaces in String Reversal

July 11, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

REVERSE changes character order while keeping supplied spaces. Use visible boundaries and byte counts to distinguish empty and missing inputs.

Read More
Previous 1 … 380 381 382 383 384 385 386 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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