by nsadmin | Aug 13, 2014 | Problems Solved
Problem: Level 16 Errors Can’t always be handled by User Code The Books-OnLine (BOL) is wrong. It says that errors with Level 16 and below can be handled by user code. In particular by examining @@Error. Unfortunately, level 16 errors can not always be...
by Ian Bachman-Sanders | Aug 1, 2014 | Problems Solved, SQL coding, SQL Performance
This UDFs week solves a problem posed to me last week by a friend Gary. Gary wants to select a random row from one of his tables and was hoping that SQL Server would have some support for this task. The idea of selecting a random row runs counter to the ideas that...
by andrew novick | May 22, 2014 | Problems Solved, SQL coding, Uncategorized, Videos
Download the sample script: Problem-Scalar-UDF-and-solution-andy-novick and a PDF of the slides: The Problem with scalar UDFs and a solution – Andy Novick Or watch the video on Youtube: User-Defined functions (UDF) have been around SQL Server since the...