Link to home
Start Free TrialLog in
Avatar of ametuer999
ametuer999

asked on

Attachments for msdb.dbo.sp_send_dbmail

two csv files are generated from SSIS package ,dynamically named,which are assigned two variables.I am trying to email them using msdb.dbo.sp_send_dbmail in a sql execute task..but i could do only one attachment...how to attach multiple files to msdb.dbo.sp_send_dbmail using variables..
Avatar of pivar
pivar
Flag of Sweden image

Hi,

Delimit the filenames with a semicolon.

/peter

Avatar of ametuer999
ametuer999

ASKER

I tried it like..@file_attachments = @attachment;@attachment1
But no use..
ASKER CERTIFIED SOLUTION
Avatar of pivar
pivar
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
THANKS A LOT...!