Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SuperScript in SQL/SSRS

$
0
0

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]
GO

INSERT [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



Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>