Novick Software SQL Server Consulting Design Programming Training  

  sql server mvp



I've written a couple dozen articles on MsSQLTips over the last couple years.  You'll find them by clicking this button:

sp_storage a proc to manage disk space in SQL Server

This procedure makes managing space on a SQL Server much simpler by reporting usage at the Drive, Database and File basis.

SQL Server Performance with Solid State Disks (SSD)

This article summerizes my experience using Solid State Disk boards with SQL Server.  The performance can be impressive for the right loads.


This article presents a stored procedure for convenient reporting of the space consumed by each table.  It's uses sp_spaceused to compatibility but includes the schema so that like named tables can be distinguished.

Proposed Enhancement to Solve the UDF Performance Problem

This is an SQL Server enhancement request that suggests a new type of UDF to improve the performance of many scalar UDFs. An extract of Chapter 11 of Transact-SQL User-Defined Functions and a sample script are included.

A Note on SQL Aggregates

This article shows a comment on the User Defined Aggregate article by Joe Celko and an additional aggregate, bit-wise OR, implemented in SQL.

Creating a User Defined Aggregate with SQL Server 2005

SQL Server 2005 allows the creation of User Defined Aggregates in VB.Net or C#. This article shows how to create a Product aggregate using the Beta of Visual Studio 2005

Inserting a VSS Label Every Day with A SQL Agent Job

When discipline is in short supply it may be better to turn to automation to eliminate problems.  That's just what happened when this program and SQL Agent Job were created.  The program creates a label in Visual SourceSafe every day.  The SQL Agent Job is used to make sure it happens every day.

Achieving Programmer Productivity using a Reusable Framework and Code Generation

There is good news.  Using a reusable library designed to support WinForms applications and a code generator for business objects I've been able to achieve very high programmer productivity.  This article shows how and highlights the numbers.

Implementing the CRUD Operations with Stored Procedures: Part I

This is the first of two articles about how to create stored procedures to implement the Create, Read, Update, and Delete operations (CRUD ) in SQL Server. The article concentrates on the rational behind using stored procedures and discusses the technical issues particular to SQL Server. 

Implementing CRUD Operations with Stored Procedures: Part II

The second of two articles about how to create stored procedures to implement the Create, Read, Update, and Delete (CRUD) operations in SQL Server. It concentrates on supporting features of SQL Server, such as timestamps, computed columns, identity columns, and defaults.

Creating a SQL Server User Interface with InfoPath

InfoPath is an exciting new application that's part of the soon to be released Office 2003 product from Microsoft.  This article shows how to connect an InfoPath form to a SQL Server database.   The benefit of connecting the two packages is the ability to create a user interface for SQL Server very quickly.  The user also gets the ability to work offline and to use the features of Office, such as spell checking.

Examining SQL Server's I/O Statistics

Reading and writing to the disk is the heart of what any database management system does, SQL Server included. Input/Output (I/O) performance can make or break an application. This article discusses the diagnostic tools that can be used to examine SQL Server's I/O statistics so that you can make fact-based judgments about disk configurations. It also builds a solution that makes it easy to gather I/O statistics at peak use times every day.

Scripting Traces for Performance Monitoring on SQL Server

The SQL Profiler is a great tool for monitoring and analyzing SQL Server Performance. I use it to watch the detailed actions of a stored procedure, trigger or user-defined function (UDF). It can also be used to monitor aggregate performance of an entire SQL Server instance, a single database, or to isolate performance problems. When you are interested in overall performance, using SQL Profiler over time, by that I mean every day, improves your knowledge of your system and its performance characteristics and provides the information you need to spot trends and changes of behavior. This article shows how to create traces using T-SQL scripts and how to use a trace script to monitor your system ever day during peak usage hours. 

Minimizing SQL Server Stored Procedure Recompiles

This article discusses the reasons that SQL Server decides to recompile a stored procedure and demonstrates techniques that can be used to minimize recompilation. If your system makes extensive use of stored procedures, minimizing recompilation can give you a performance boost.

Identifying Stored Procedure Recompilation Problems in SQL Server 2000

SQL Server recompiles stored procedures when necessary.  This article describes the conditions that will cause a stored procedure recompile and shows you how to monitor the recompilation process.   You can also see a video showing how to use Windows Performance Monitor to identify aggregate recompilation statistics and one about how to use the SQL Profiler to see the recompilation details.

Minimizing SQL Server Stored Procedure Recompiles

Discusses the reasons that SQL Server recompiles a stored procedure and demonstrates techniques to minimize recompilation. If your system uses stored procedures, minimizing recompilation can give you a nice boost in performance.

Indexed Views Basics in SQL Server

Shows how to use Indexed Views to improve performance of SQL Server queries.

SP3 and xp_cmdshell Woes

All SQL server 2000 instances should be upgraded to SP3.  But upgrading causes a problem with SP's that use xp_cmdshell. The article shows the problem and how to fix it.

Find Out What They're Doing with fn_get_sql

SQL Server 2000 Service Pack 3 includes a new system UDF, fn_get_sql.  This article show you how it works and demonstrates how to use it as an aid in diagnosing a blocking situation.  You can also see a video of the demonstration scripts in action.

SQL Server 2000 SP3 and xp_cmdshell Woes

Service Pack 3 is essential to protecting all SQL Server instances.  However, once installed, your procedures that use xp_cmdshell may no longer work.  This article explains why and shows how to fix the problem.  In the process it describes the accounts that SQL Server uses to execute xp_cmd_shell and the use of the xp_sqlagent_proxy_account extended stored procedure.

Using Inline UDFs for Precise Paging

A typical data driven web site has plenty of pages with tables of data made from database content.  This article discusses using the Inline Table Valued User-Defined Function to retrieve the minimal amount of data for each page.

Securing SQL Server for Web Applications

Discusses the issues faced when using SQL Server in a web application.  It covers the vulnerabilities, the attacks, goals for security, written security policies, securing the Windows server, network topology, and security logs.

Complying with IT's Security Requirements

Whether your application is a software package, built in-house,  or you're an Application Service provider, the end users rely on their IT department to enforce corporate security requirements.  This article is about how to work with the IT department to implement security in a web application.  It covers working on the requirements check list to insure compliance with Infrastructure requirements and application behavior requirements.

Protecting Your IIS Server and Web Application

Did you get hit by Code Red or Nimbda?  This article is all about how to recover from attack and protect your system in the future.

Beyond the Upsizing Wizard

Microsoft provides the Upsizing Wizard for converting Access databases to SQL Server. But it's only part of the conversion process. This article takes you through the process of using the Upsizing Wizard and they through all the additional steps it takes to complete the conversion.



information about novick software site

Personal Blog


New Tips:

Use dsinit to set the SQL Server instance for Windows Azure dev storage


Nov 7, '12
Loser: DB

Full Schedule



Available Now

User-Defined Functions

Get it wtih the Bonus 100 UDF Library

Latest News

Novick Software Celebrates 10 Years in Business