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
Rakesh.Chaudhary
SSC Eights!
Points: 901
More actions
July 25, 2012 at 4:42 am
#1517270
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'