Functions SQL 2005 Adventure Works OLTP

dbo.ufnGetDocumentStatusText

Object type: User defined function

Scalar function returning the text representation of the Status column in the Document table.

Syntax

dbo.ufnGetDocumentStatusText ( Status )

Parameters 

Variable  Data Type  Required  Description 
Status  tinyint  Yes Input parameter for the scalar function ufnGetDocumentStatusText. Enter a valid integer. 

Properties 

Output data type  Transactional  Uses cursors  Executes procedures  Dynamic content  Encrypted 
nvarchar(15)  No No No No No

Applies to

Functions | Scalar
The AdventureWorks database sample was developed by Microsoft Corporation, copyright 2005. SQL Server is a trademark of Microsoft Corporation

Document was prepared on: Thursday, April 05, 2007
Help compiled by DBDocumentor, a Pikauba Software product. All rights reserved.