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 2008 Forums
 Transact-SQL (2008)
 Making output bold with characters?

Author  Topic 

Swati Jain
Posting Yak Master

139 Posts

Posted - 2009-05-06 : 08:36:38
using following query i have created newlines in output
select CONVERT(VARCHAR(8), MedicalDate,1)as MedicalDate ,ProviderName ,PageNo,ReportType,'History:'+CHAR(13)+CHAR(10)+History+CHAR(13)+CHAR(10)+'Complaint :'+CHAR(13)+CHAR(10)+Complaint+CHAR(13)+CHAR(10)+'Diagnosis :'+CHAR(13)+CHAR(10)+Diagnosis+CHAR(13)+CHAR(10)+'Treatment :'+CHAR(13)+CHAR(10)+Treatment as Summary,ReportTypeID from tlb.


with some characters in sql is it possible to make the output bold?
How?

Thanks and Regards
Swati jain


SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-05-06 : 08:43:14
Bold means many things.
In HTML, but <strong> tags around the text you want to emphasize.
In RTF, you would want a different set of tags.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

Swati Jain
Posting Yak Master

139 Posts

Posted - 2009-05-06 : 08:46:05
quote:
Originally posted by Peso

Bold means many things.
In HTML, but <strong> tags around the text you want to emphasize.
In RTF, you would want a different set of tags.



E 12°55'05.63"
N 56°04'39.26"



In HTML, but <strong> tags around the text i want to emphasize.
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-05-06 : 08:58:00
Do a replace.


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page

Swati Jain
Posting Yak Master

139 Posts

Posted - 2009-05-06 : 09:43:49
quote:
Originally posted by Peso

Do a replace.


E 12°55'05.63"
N 56°04'39.26"




Hi Peso,
thanks for replying , will u specify, what i need to do exactly.

swati
Go to Top of Page
   

- Advertisement -