Hi All,My issue is the following:O.S. Microsoft Server 2012 R2SQL Server 2014 with mixed autentication mode build 12.0.2269user connected: saprocedure sp_send_dbmail sends an empty body mail when @query parameter is used.--- EXEC msdb.dbo.sp_send_dbmail @profile_name = 'INFO', @recipients = <myemailaddress>, @body = '', @subject = 'subject', @query = 'select idx, id, rtrim(articolo) as articolo, cast(rtrim(errore) as varchar(200))as errore from table';---obviously query works properly if executed.thanks for Your help.Mauro Branca
↧