According to MSDN BOL (Books Online) on SET ANSI_PADDING
,
In a future version of Microsoft SQL Server ANSI_PADDING will always be ON and any applications that explicitly set the option to OFF will produce an error. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
I have never used this option but it looks like it can actually save a lot of database spaces for char
and varbinary
fields if used correctly.
Why is SET ANSI_PADDING
becoming obsolete, other than the fact that it is not ANSI-compliant?
Are there any good reasons why?