Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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)

Monitor Any Linked Server From SQL 2005

By Sakthivel Chidambaram,

Hi,

DBA's often monitor Backups, Replication e.t.c manually or through some automation but there is one thing which needs to be monitored is linked server. Often there may be some issue in linked server and DBA's will not know till Application user raises issue. Also there is no straight method to test excel linked server since the external procedure by SQL 2005 will say pass even the excel sheet is deleted from the path. So this script will help you to monitor Linked servers from SQL 2005 and i will also post a SQL 2000 version of this script later.

Also fine below the behaviour of excel sheet on different action and the test i have done on this script. Any enhancements/suggestions are always welcome!

Testing Done on Behaviour of Excel Linked Server When Excel sheet is used by some one [For General Understanding on Excel]

Testing Done using Script with Status

Note: Send Mail section can be changed/modified as per your environment!

Regards,

Sakthi

Total article views: 3034 | Views in the last 30 days: 3
 
Related Articles
FORUM

Insert Local Excel data sheet into SQL(remote) Server

Insert Local Excel data sheet into SQL(remote) Server

FORUM
FORUM

how to convert datetime excel sheet to sqlserver datetime

converting datetime from excel sheet to sql server

FORUM

How to export sql server data into multiple excel sheets ?

export from sql server 2000/s2005 to excel sheet

FORUM

Export data from a sql table to excel sheet

Export data from a sql table to excel sheet

Tags
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones