Connecting Tech Pros Worldwide Forums | Help | Site Map

How to store a formula in sqlserver ?

Newbie
 
Join Date: Nov 2008
Posts: 2
#1: Nov 19 '08
I have a varchar couln in a table. How do i store a formula with superscripts like x^2 + y^2 = z ^ 2 which appears as a mathematical formula as x square 2 + y square 2 = z square ?

Thanks

atul

ck9663's Avatar
Expert
 
Join Date: Jun 2007
Posts: 1,925
#2: Nov 19 '08

re: How to store a formula in sqlserver ?


Try using this



-- CK
Newbie
 
Join Date: Nov 2008
Posts: 2
#3: Nov 20 '08

re: How to store a formula in sqlserver ?


I donot want to evaluat the expression, i want it to be displayed as a mathematical expression so that students can view it. A varchar field can store plain text but how to display it as a formula ?

Thanks
Reply


Similar Microsoft SQL Server bytes