Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 12890

How to loop folder , sub folder and files in the sql server ?

$
0
0

Hi,

I have a folder , sub folder and files like this.

Here AuditSearchHistory fixed folder and contains 2 subfolders , but some times it may contain more sub folders also.

Please help me to loop the subfolders to get xls files in the sql without SSIS , Because I need to get just xls file paths.

Thank you.







Viewing all articles
Browse latest Browse all 12890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>