Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

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

Perform an action when a file exisits

By torpenhow,

Script to check whether a file exists with todays date and performs an action based on whether the file exisits or not. We use this to check whether backups have completed from another SQL Srver and if they have completed we restoe on a server used for management information

Total article views: 2037 | Views in the last 30 days: 6
 
Related Articles
FORUM

How to check whether hyper thread is disabled using SQL Server query

How to check whether hyper thread is disabled using SQL Server query

FORUM

How to detect whether Database mail is enabled or not

How we can detect whether Database mail is enabled or not using tsql commands rather than checking i...

FORUM

How to check whether Port 25 is open for DB Mail

How to check whether Port 25 is open for DB Mail

FORUM

system table that can inform whether the subscription is Push or Pull

system table that can inform whether the subscription is Push or Pull

FORUM

how to identify whether my sa account is disabled in sql server

how to identify whether my sa account is disabled in sql server

 
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