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)

fn_getfiledetails - a replacement for xp_getfiledetails

By Karl Klingler,

For this function to work you need to enable

- OLE Automation

and

- xp_cmdshell

in the SQL Server 2005 Surface Area Configuration.

 

Also the sql server service account needs the permission to access the concerning file.

 

 

 

 

Total article views: 1760 | Views in the last 30 days: 1
 
Tags
udf    
xp_getfiledetails    
 
Contribute