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
Dialog box displaying error.

SQL SERVER – UNION With TEXT DataType Returns Error but and UNION ALL Works – Reasons

January 3, 2015
Pinal Dave
SQL Tips and Tricks
SQL Union clause

Why does UNION with TEXT datatype return an error while UNION ALL works? It comes down to how UNION removes duplicate rows. Here is the reason.

Read More
Feature Selection Window.

SQL SERVER – Fix – Missing “Mirroring” and “Transaction Log Shipping” option in the Database Properties

January 2, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

The Mirroring and Transaction Log Shipping options were missing in Database Properties for my freshly created database. Here is what caused it and the fix.

Read More
SQL SERVER - Year 2014 Reflections by Tim Radney - Notes from the Field #060

SQL SERVER – Year 2014 Reflections by Tim Radney – Notes from the Field #060

January 1, 2015
Pinal Dave
SQL Performance
Notes from the Field, Shrinking Database

Instead of New Year’s resolutions, Tim Radney suggests looking back. Here are his Year 2014 reflections, a great way to plan the year ahead.

Read More
An old chair with one new leg being glued in, held by a red clamp

Refactoring Old T-SQL One Procedure at a Time

January 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Server, SQL Stored Procedure, Testing

Begin refactoring old T-SQL with one procedure, repeatable inputs, duplicate-aware result checks, measured reads, and a simple change log.

Read More
Grouped extension plugs separated from a female connector

Exporting and Sharing Registered Server Groups in SSMS

December 31, 2014
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Instance, SQL Server Management Studio

One shared server list can save you from running a query on the wrong server. Here is how to build it, export it without passwords and use it.

Read More
SQL union error dialog.

SQL SERVER – UNION and UNION ALL with TEXT DataType – Observation

December 30, 2014
Pinal Dave
SQL Tips and Tricks
SQL Union clause

UNION fails on a TEXT column with Msg 5335, yet UNION ALL with TEXT datatype works fine. Here is the code so you can try the difference yourself.

Read More
Select query with divide by zero error.

SQL SERVER – Puzzle – Why Divide by Zero Error

December 29, 2014
Pinal Dave
SQL Puzzle

Why does SELECT 10000/(17/17/17) return a divide by zero error? A new puzzle, similar to my decimal rounding one but with a different approach.

Read More
Previous 1 … 399 400 401 402 403 404 405 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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