Archive for julio, 2010
SQL Server – Funciones
Written by lopezatienza on 14/07/2010 – 20:04 -Funciones numéricas
ABS Returns the absolute value of the expression.
ACOS Returns the angle in radians for the given cosine.
ASIN Returns the angle in radians for the given sine.
ATAN Returns the angle in radians for the given tangent.
ATN2 Returns the angle in radians whose tangent is in between two given floats.
CEILING Returns the smallest integer greater than or equal to a given expression.
COS Returns the cosine from a given angle (in radians).
COT Returns the cotangent from a given angle (in radians).
DEGREES Returns a degrees value from a given expression (in radians).
EXP Returns the exponential value of the expression.
FLOOR Returns the largest integer that is less than or equal to the given expression.
LOG Returns the natural logarithm of a given expression.
LOG10 Returns the base 10 logarithm of the given expression.
PI Returns number PI (3.1415926535897931...).
POWER Returns the result of an expression in power n.
RADIANS Returns radians from degrees.
RAND Returns the random float number in the range of 0 to 1.
ROUND Returns a numeric expression rounded to a specified length or precision.
SIGN Returns +1 for positive expressions, 0 for zero, and –1 for negative expressions.
SIN Returns the sine from a given angle (in radians).
SQUARE Returns the expression squared.
SQRT Returns the square root of the given expression.
TAN Returns the tangent of the given expression. Read more »
Tags: SQL Server
Posted in SQL Server | No Comments »