Viewing 3 posts - 1 through 3 (of 3 total)
Hi there,
I can't think of a quick way which you can implement to find the name of the stored procedure that is causing the trigger to fire but you can...
January 6, 2006 at 4:06 am
Hi,
You could also try using the extended stored procedure xp_FileExists. See http://www.sqlservercentral.com/scripts/contributions/424.asp
Cheers,
Sameer
July 1, 2005 at 2:15 am
Hi,
You can use the xp_cmdshell stored procedure to achieve this. For example:
Declare
@sExecSQL NVARCHAR(4000),
@sFileLocation_Source NVARCHAR(255),
@sFileLocation_Target NVARCHAR(255)
SET @sFileLocation_Source = 'C:\Download\XXXXX.txt'
SET @sFileLocation_Target = 'C:\Archive\YYYYY.txt'
--Copy File
SET @sExecSQL = 'Copy ' + LTRIM(RTRIM(@sFileLocation_Source)) + '...
June 30, 2005 at 2:31 am
Viewing 3 posts - 1 through 3 (of 3 total)