Click here to monitor SSC
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)

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: 2038 | Views in the last 30 days: 5
 
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