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,020 reads

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

843 reads

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

852 reads

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

1,122 reads

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,254 reads

Blogs

VMworld 2020 SQL Server session preview

By

Join me, David Klee, Microsoft Data Platform MVP and VMware vExpert, for a preview...

A new malware attack on SQL Server

By

Tencent Security has released a report (written in Chinese) describing a new malware attack by...

Azure Synapse Analytics overlooked features

By

There are some options in Azure Synapse Analytics that are not obvious that I...

Read the latest Blogs

Forums

SQL Agent error history

By sizal0234

Is there a way to capture 2 things, when did the job failed and...

Import csv file into existing table where 1st row has sep=,

By andrewjmdata

Hi, I have a csv file that has the value "sep=," in the first...

Inserts not propagated in transactional replication

By tttcoding

Hello, I have a transactional replication configured which subscription fails to sync to often...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers