Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: xp_sendmail with an Attachment, Sometimes....

    Hi Wildh,

    this is the code I've written in hte SQL task.

    DECLARE @chkfile INT

    DECLARE @exists BIT

    EXEC @chkfile = sp_MSget_file_existence 'C:\Documents and Settings\144022.CTS\My Documents\timesheet_list.xls', @exists = @exists output

    IF @exists = 1 --...

  • RE: xp_sendmail with an Attachment, Sometimes....

    Hi,

    Can you tell me where I should write the code in a package? When I tried writing it in SQL task, it throws some error stating syntax...

Viewing 2 posts - 1 through 2 (of 2 total)