|
Comparison of FunctionsHere is the beginnings of my notes comparing functions among different languages (Java, MS-Office/Access, MS-SQL, Oracle).
| Topics this page:
|
|
Numeric Math Functions
The absolute value is used to determine whether a number is odd or even. In Transac-SQL:
CASE WHEN ABS(x) % 2 = 1
ELSE 'even' In VBScript:
stat = "even" SELECT CASE abs(x) mod 2
Response.write x & " is " & stat In JScript:
var stat = "even"; switch(Math.abs(x) % 2) {
Response.Write(x.toString() + " is " + stat);
|
Trigonometric FunctionsAngles within these trig functions are specified in radians as rather than in degrees.
|
Text Character Functions
Lowe Lum Carlson Systems' Oracle SQL 8i Tutorials Lesson #11 - Character Functions |
Constants
|
Related Topics:
| Your first name: Your family name: Your location (city, country): Your Email address: |
Top of Page
Thank you! |