Click here to Skip to main content
15,120,268 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello ,
I want to insert a super script in a record. i am able to find the different super script symbols for my requirement . But i am unable to find for some characters.They are
1) C
2) F

I want super script syntax or any thing to insert into my sql record. Please help me out. Thanks in advance

Note : I want super script for upper case letters only.
Updated 30-Sep-14 22:37pm
Richard MacCutchan 1-Oct-14 7:37am
Superscript is a font, rather than a character, so you need to add information to your database field that marks the character as requiring superscript. Then when you display the data you need to select the correct font for those characters.
PhilLenoir 1-Oct-14 16:02pm
What is going to render your superscript? A browser? an email tool (which format HTML or RTF)? Some other RTF renderer? Something else?
George Jonsson 1-Oct-14 21:37pm
Does C and F stand for Celsius and Fahrenheit?
Rajesh Varma Buddaraju 13-Oct-14 10:24am
In database we will store the data only. If you want to store the superscript data like 'F' or 'C' then you need to maintain a separate column with UOM type and store the data in one column and the UOM data in another column.
For example, 19C -> temperature | UOM -> 19 | F. While displaying the data in front end use the formatting technique to display the superscript data.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900