Home Forums SQL Server 2008 SQL Server 2008 - General SQL Script To Copy text file from one location to other and Delete the File after Copying tO some log folder RE: SQL Script To Copy text file from one location to other and Delete the File after Copying tO some log folder

  • Thanks!

    What should I use ,If want to Overwrite the existing file :

    Currently I am using below query ,but its not working....

    @sql = 'copy ' + @from + ' ' + @to +' /Y'