UserOptions.AnsiPadding UserOptions.AnsiPadding UserOptions.AnsiPadding Property

Definition

Gets or sets the Boolean property value that specifies whether trailing blanks are inserted (padded) or removed (trimmed) in char, varchar, binary, and varbinary columns.

public:
 property bool AnsiPadding { bool get(); void set(bool value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Deploy, "true")]
public bool AnsiPadding { get; set; }
Public Property AnsiPadding As Boolean
Property Value

A Boolean value that specifies the whether trailing blanks are inserted or removed in char, varchar, binary, and varbinary columns.

If True, trailing blanks are inserted following the value to fill the column. Trailing blanks on values are not trimmed.

If False (default), trailing blanks are not inserted into the column. Trailing blanks on values that are inserted into the column are trimmed.

Examples

Configuring SQL Server in SMO

Applies to