Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Carriage return/line feed

Author  Topic 

ssingh
Starting Member

25 Posts

Posted - 2001-10-03 : 10:24:01
I am using xp_sendmail stored procedure to send e-mail. I need to have some information in the @message. I can't figure out how do we add line feed / carriage return so that the data looks more presentable.
for eg I have
@message01 = 'This is report for ' + @name +
' SSN#= ' + CONVERT(varchar(10), @ssn) + ', Sex= ' + @sex + ', Ethnic= ' + @ethnic + ', DOB= ' + @dob +
'. To open, double-click on the file attachment below.'
and blah blah info..

   

- Advertisement -