| Functions | SQL 2005 Adventure Works OLTP | 
Scalar function used by the Sales.Customer table to help set the account number.
Syntax
dbo.ufnLeadingZeros ( Value )
Parameters
Variable Data Type Required Description Value int Yes Input parameter for the scalar function ufnLeadingZeros. Enter a valid integer. 
Properties
Output data type Transactional Uses cursors Executes procedures Dynamic content Encrypted varchar(8) No No No No No 
Applies to
Functions | Scalar