ADMIN_FormatName

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

This function can be used to get a nicely formatted representation of a persons full name.

If the supplied first and last names are both either null or whitespace then a value of null is returned.

Return value: nvarchar(1000)

The persons full name

Parameters

@FirstName mandatory nvarchar(300)
The persons first name
@LastName mandatory nvarchar(300)
The persons last name