Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UserOptions.AnsiPadding Property

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.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Deploy, 
	"true")]
public bool AnsiPadding { get; set; }

Property Value

Type: System.Boolean
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.