Technical Article

Run DTS Pkg from VBScript (with progress dialog)

This script will run a DTS package from any registered SQL Server instance and display the standard package execution progress dialog while the package is running.To specify the SQL Server instance and package to run, amend the parameters for the ExecuteDTS function in the "Main Program" section of the script.The script is written using SQL […]

2004-08-03 (first published: )

1,034 reads

Technical Article

SQL Server Log Reader

This script outputs the data in chronological order from the current SQL Server log.Output columns are: Log Entry Time, Event Source, Log Entry Text. This data matches with the data that can be seen under the SQL Server logs view in Enterprise Manager.The script is stand alone, but could easily be parameterised to work as […]

2004-02-10

845 reads

Technical Article

SQL Server Job Status Report

This script generates an HTML report on the status of all jobs on a specific SQL Server instance. The report consists of several sections: a summary report of jobs that have passed, failed, been cancelled, or whose status is unknown; a detailed report of the status of each job.The script is designed to be included […]

2003-12-01

856 reads

Technical Article

Table Size Estimator

This script will output an estimate for the space required for a given number of rows for a specified table; the estimated size is based on the data produced by the "sp_spaceused" stored procedure.The script is written as stand alone, though it also lends itself to creation as a stored procedure, and can be run […]

2003-08-07

2,790 reads

Technical Article

Display Database, File, Free and Total Disk Space

This script displays the size of each SQL Server database and database file plus the size of the next extension that will be added to each file. It also displays on each line the total and remaining free disk space for whichever disk each database file is stored on.The output is nothing fancy, and could […]

1 (1)

2003-07-30

1,293 reads

Blogs

Be careful with table updates

By

The dire warning in the subject line is not meant to scare you. Rather,...

Daily Coping 1 Dec 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Building a pacemaker cluster to deploy a SQL Server availability group in Azure

By

There are new Ubuntu Pro 20.04 images available in the Azure marketplace with SQL...

Read the latest Blogs

Forums

Help with Column Visibility Expressions

By Jeffs1977

I have a parameter in my report labeled as PaySource. PaySource has 3 values...

SQL Server and CloudStrike

By Leo.Miller

Has anyone had issues with CloudStrike Anti-Virus on their SQL Servers? I've had a...

Table Date field format

By shank-130731

I created a date field [Datte] in SQL v2008. I then link with MS...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers