ADMIN_PadRight

Show allHide all

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

Type: Scalar function

Pads a character string from the right using the specified padding character to the specified length.

Return value: nvarchar(max)

The padded character string.

Parameters

@s mandatory varchar(8000)
The string to be padded.
@length mandatory int
The length which to pad the string.
@padchar mandatory char(1)
The character to use for padding.