Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

Chapter 10. Numeric Data Types - Pg. 215

nUMeRIC DAtA tYPeS SQL is not a computational language; the arithmetic capability of SQL is weaker than that of any other high-level programming language you have ever used. But there are some tricks that you need to know working with numbers in SQL and when passing them to a host program. Much of the arithmetic and the func- tions are implementation-defined, so you should experiment with your particular product and make notes on the defaults, precision, and tools in the math library of your database. 10