lockscheme  log10

Chapter 2: Transact-SQL Functions

log

Description

Returns the natural logarithm of the specified number.

Syntax

log(approx_numeric)

Parameters

approx_numeric

is any approximate numeric (float, real, or double precision) column name, variable, or constant expression.

Examples

Example 1

select log(20)
-------------------- 
             2.995732

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute log.

See also

Functions log10, power





Copyright © 2005. Sybase Inc. All rights reserved. log10

View this book as PDF