pi  proc_role

Chapter 2: Transact-SQL Functions

power

Description

Returns the value that results from raising the specified number to a given power.

Syntax

power(value, power)

Parameters

value

is a numeric value.

power

is an exact numeric, approximate numeric, or money value.

Examples

Example 1

select power(2, 3)
-----------
         8 

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute power.

See also

Functions exp, log, log10





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

View this book as PDF