Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Load directory listing into table
Message
 
 
To
25/01/2012 11:54:12
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01533716
Message ID:
01533718
Views:
37
Maybe you have records already in the table?

>
>I'm using
>
>insert into tempdb.dbo.scan_file_list
>exec xp_cmdshell 'dir C:\test\ *.* /b'
>
>to try and load a list of filenames into a tble.
>
>But I get other for instance files from the windows system directory included .
>
>What am I doing wrong.
>
>Thanks
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform