Hi,
I am using db mail. I would like the body portion to have carriage returns, such as:
BEGIN
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'Administrator',
@recipients = 'me@yahoo.com',
@subject = 'FAILED JOB,
@body = 'Restart attempted...' + [carriage return here] + 'please check job status' ;
END
Need the correct syntax for [carriage return here]
Thanks!!
I am using db mail. I would like the body portion to have carriage returns, such as:
BEGIN
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'Administrator',
@recipients = 'me@yahoo.com',
@subject = 'FAILED JOB,
@body = 'Restart attempted...' + [carriage return here] + 'please check job status' ;
END
Need the correct syntax for [carriage return here]
Thanks!!