Dear all,
I using this syntax to export report and attach to email:
select 'dbr.mail.attach', concat('xxx','.xlsx'), CONCAT("http://xxx.xx/report//report.php?r=1724&u1=37393&m=132&h=685c351ee0fc229f66becb111956384cd411cfb9","&export=xlsx");
But the attach file cannot open with excel and pdf.
Can you help me fix this?