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
Three identical glass jars on a wooden shelf: one filled with rice, one holding a single grain, and one completely empty with its lid off.

What Is NULL in SQL Server? The Value That Isn’t a Value

May 21, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

NULL in SQL Server is not zero and not an empty string. It means the value is unknown, and that changes every comparison you write. Why equals never matches, the NOT IN trap that returns nothing, and where NULL is allowed to live.

Read More
A plumber pressure-tests a new copper pipe with a hand pump as a single bead of water forms at one joint.

Testing an Application for SQL Injection

May 21, 2007
Pinal Dave
SQL Tips and Tricks
Developer, Dynamic SQL, SQL Server Security, Testing

Testing an application for SQL injection on a safe copy reveals response clues and unsafe query construction before repair.

Read More
A kitchen door frame with a row of short pencil marks, the newest mark higher than the others.

Collecting Server Facts Into One Table Every Night

May 21, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Monitoring, SQL Server, SQL Server Agent, SQL Server Configuration

Collect Server Facts each night to track SQL Server versions, settings, databases, and file sizes in a practical history table.

Read More
SQL SERVER - SQL Code Formatting Tools

SQL SERVER – SQL Code Formatting Tools

May 20, 2007
Pinal Dave
SQL Tips and Tricks
File format, SQL Scripts, SQL Server, SQL Utility

SQL Code Formatting matters, and every DBA has a preference; I like uppercase keywords. I ran one script through online formatters and two were worth sharing.

Read More
SQL SERVER - Script/Function to Find Last Day of Month

SQL SERVER – Script/Function to Find Last Day of Month

May 20, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Utility

A one line DATEADD query to find the last day of month for any date. It handles leap years: February 2008 gives the 29th and 2007 the 28th.

Read More
SQL SERVER - ASCII to Decimal and Decimal to ASCII Conversion

SQL SERVER – ASCII to Decimal and Decimal to ASCII Conversion

May 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

In this blog post we will see how we can convert ASCII to Decimal and Decimal to ASCII. In simple words, we will see the decimal and ASCII conversion.

Read More
Function icon.

SQL SERVER – Math Functions Available in SQL Server

May 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server

One list of the Math Functions available in SQL Server, from ABS and CEILING to SQRT and TAN, and why RAND is the only nondeterministic one among them.

Read More
Previous 1 … 816 817 818 819 820 821 822 … 839 Next
  • Books
  • Testimonials
  • Privacy Policy

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