patindex  power

Chapter 2: Transact-SQL Functions

pi

Description

Returns the constant value 3.1415926535897936.

Syntax

pi()

Parameters

None

Examples

Example 1

select pi()
-------------------
          3.141593

Usage

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute pi.

See also

Functions degrees, radians





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

View this book as PDF