SuperScript in SQL/SSRS
-
Thursday, February 07, 2013 3:43 PM
Hi ,
I am facing problem with superscript
In my table i have data like "a<sup>2</sup>b<sup>3</sup>" this should be display as c²d³, etc
The values are coming in table variably so i cant do this manually. So please help me on this....I am fine with either SQL or SSRS expressions
-----------------------------------------------------------------------------------------------------------------
CREATE TABLE [dbo].[SuperScriptTable](
[ColumnA] [nvarchar](max) NOT NULL
) ON [PRIMARY]
GOINSERT [dbo].[SuperScriptTable] ([ColumnA]) VALUES (N'a<sup>1</sup>b<sup>2</sup>')
INSERT [dbo].[SuperScriptTable] ([ColumnA]) VALUES (N'c<sup>3</sup>d<sup>4</sup>')
INSERT [dbo].[SuperScriptTable] ([ColumnA]) VALUES (N'e<sup>5</sup>f<sup>6</sup>')
INSERT [dbo].[SuperScriptTable] ([ColumnA]) VALUES (N'e<sup>x</sup>f<sup>y</sup>')DROP TABLE [dbo].[SuperScriptTable]
Please Mark as Answer if my post solved your problem or Vote As Helpful if this helps. Blogs: www.sqlserver2005forum.blogspot.com
- Edited by Rahul Kumar (Rahul Vairagi) Thursday, February 07, 2013 7:08 PM
All Replies
-
Friday, February 08, 2013 6:04 AM
Hi frnds,
Could anyone please reply on this...I need urgent help
Your help will be truly appreciated :)
Please Mark as Answer if my post solved your problem or Vote As Helpful if this helps. Blogs: www.sqlserver2005forum.blogspot.com
-
Friday, February 08, 2013 8:07 AM
"a<sup>2</sup>b<sup>3</sup>" this should be display as c²d³, etc
Hello Rahul,
That's simple HTML code, see:
How to: Add HTML into a Report
Importing HTML into a Report (Report Builder and SSRS)Olaf Helper
Blog Xing- Proposed As Answer by Charlie LiaoMicrosoft Contingent Staff, Moderator Friday, February 08, 2013 9:16 AM
- Marked As Answer by Charlie LiaoMicrosoft Contingent Staff, Moderator Thursday, February 14, 2013 1:53 AM

