How to get file location from a drive with SQL Server 2012 -


how can file c: drive sql server?

i tried host_name() , did not work

exec xp_dirtree 'c:\', 1, 1 

that give list of folders and/or files in c:\ drive.
http://www.patrickkeisler.com/2012/11/how-to-use-xpdirtree-to-list-all-files.html


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -