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
Gouache painting: a row of identical grey pebbles on a pale windowsill, one of them clear glass that catches the light, with a thin vermilion thread tied around it

ISNUMERIC Puzzle: SQL in Sixty Seconds #076

October 29, 2014
Pinal Dave
SQL Video
SQL Datatype, SQL Function, SQL in Sixty Seconds, SQL String

The ISNUMERIC puzzle hides a tab character. Tests on SQL Server 2025 show which strings pass ISNUMERIC but fail TRY_CONVERT, how an empty string and a lone minus sign convert to 0, and how to find control characters in imported data with a short query.

Read More
Upside-down glazed bowl showing its original clay foot ring

Audit Triggers That Record the Real User Behind EXECUTE AS

October 28, 2014
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Server Security, SQL Trigger

Your audit table says dbo for every change, and nobody can tell who really did it. Here is how to capture the person behind EXECUTE AS.

Read More
Three fountain pens on cream paper with a test ink stroke under each, a hand trying a fourth pen.

Choosing a Database IDE

October 27, 2014
Pinal Dave
SQL Tips and Tricks
Developer, Recommend Tools, SQL Server, SQL Server Management Studio

Choosing a database IDE means testing SQL editing, plans, schema work, security, and team workflow across SSMS, VS Code, and other tools.

Read More
Gouache painting: a wooden seesaw balanced on a log at the edge of a meadow, one end resting low and the other raised, with a small vermilion flag on the raised end

SQL SERVER – How to Flip Value of Bit Field in SQL Server? – Part 2

October 26, 2014
Pinal Dave
SQL Tips and Tricks
SQL Operator, SQL Scripts, SQL Server

Five expressions flip a bit value in SQL Server without a CASE statement. This post runs Vinod Kumar’s four methods and the readers’ answers on SQL Server 2025, shows what each one returns for 0, 1 and NULL, and explains how to flip value of bit field data stored in an integer column.

Read More
SQL SERVER - How to Flip Value of Bit Field in SQL Server?

SQL SERVER – How to Flip Value of Bit Field in SQL Server?

October 25, 2014
Pinal Dave
SQL Tips and Tricks
SQL Scripts

How do you flip bit field values from 0 to 1 and back? My favorite method is the ~ operator. Here is a short script that shows it.

Read More
SQL SERVER - Database Stuck in Restoring State

SQL SERVER – Database Stuck in Restoring State

October 24, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore

Is your database stuck in restoring state after you restored all backups? RESTORE DATABASE WITH RECOVERY brings it online. I show what to run and when.

Read More
Gouache painting of a carved red block beside a strip of cloth printed with a row of identical leaves

Why Use Biml to Build SSIS Packages Faster

October 23, 2014
Pinal Dave
SQL Tips and Tricks
BIML, ETL, Notes from the Field, SSIS

Why use Biml when SSIS already has a designer? This guest post by Reeves Smith shows how one XML file and a single variable can generate many near-identical SSIS packages, and when the extra effort pays off.

Read More
Previous 1 … 410 411 412 413 414 415 416 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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