Re: Move a CSV file from one directory to another
You need to make sure that the windows account that SQL Server uses has permission to access the files and folders involved. Unfortunately, how to do that is outside my area of expertise. Here we...
View ArticleRe: Move a CSV file from one directory to another
Thanks, Im really close.. but it returns the following:Access is denied. 0 file(s) moved.How can I solve this? TabAllemanT-SQL doesn't have any native commands for accessing the file system....
View ArticleRe: Move a CSV file from one directory to another
T-SQL doesn't have any native commands for accessing the file system. You can execute xp_cmdshell to issue DOS commands from SQL.Otherwise, here's a good place to...
View ArticleMove a CSV file from one directory to another
Hello,I wonder how can I move a CSV file from "D:/" to "D:/2013/May/" for an example.(Using T-SQL)Thanks in advance,
View ArticleRe: Move a CSV file from one directory to another
You can give SSIS package approach a try. It is a simple task with a File System Task to work with files instead of using T-SQL.
View Article