Viewing 3 posts - 1 through 3 (of 3 total)
Because i using dynamic query mechanism to get the columns dynamically.
Dynamic Query will not run until it has the value in the parameter.
March 1, 2011 at 2:07 pm
I tried but not solving the problem.
February 25, 2011 at 11:37 am
DECLARE @SourceFileName varchar(255)
Declare @Destination varchar(255)
DECLARE @ExecCmd VARCHAR(255)
SET @SourceFileName = '"\LoadFile.txt"'
set @Destination = '"\LoadFile.txt"'
SET @ExecCmd = 'move ' + @SourceFileName +' '+@Destination
EXEC master.dbo.xp_cmdshell @ExecCmd
make sure your xp_cmdshell command is enabled in...
January 14, 2010 at 12:56 pm
Viewing 3 posts - 1 through 3 (of 3 total)