SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)


By Chad Miller,

Troubleshooting intermitten connectivity issues can be difficult. One approach is to repeatedly test connecting to SQL Server outside of an existing application in order to verify if a server-wide intermitten issue is occurring. This script is used to test remote connectivity to a SQL Server. The script loops in one minute intervals (adjust as needed). If a problem connecting to SQL Server occurs an error is written to the Application log on the machine from which the script is executed. The script requires SQL-DMO which is installed with the SQL Server client tools.

Total article views: 1397 | Views in the last 30 days: 1
Related Articles

vb script to connect to all sql servers

vb script to connect to all sql servers from centralized location


Change FTP Connection Properties via Script Task

Change FTP Connection Properties via Script Task


Server Connection Timeout

Server Connection


Port check for SQL Server connectivity

Generates a script to check connectivity between a list of SQL Server instances on a specified port....