curunreservedpgs

Displays the number of free pages in the specified disk piece.

Syntax

curunreservedpgs (dbid, lstart, unreservedpgs)

Parameters

Examples

Usage

If a database is open, the value returned by curunreservedpgs is taken from memory. If it is not in use, the value is taken from the third parameter you specify in curunreservedpgs.

See also Transact-SQL Users Guide.

Standards

ANSI SQL – Compliance level: Transact-SQL extension.

Permissions

Any user can execute curunreservedpgs.

Related reference
db_id
lct_admin