Is there a way to change the values for FixedLenNullInSource and TrimTrailingBlanks?
I use sp_help to compare the output from different servers to see if the tables are identical. FixedLenNullInSource and TrimTrailingBlanks are throwing my comparisons off.
TrimTrailingBlanksrelates to theSET ANSI_PADDINGoption when the table was created. You might be able to change that without recreating the whole table in a similar way to my answer here for changing theANSI_NULLoption.Otherwise you would need to recreate the table with the desired semantics selected.
Looking at the definition of
sp_helpso it appears different values for
FixedLenNullInSourcejust indicate that the nullability of the column is different and that it is one of the 4 specified datatypes. You would need to fix that withALTER TABLE ... ALTER COLUMNYou are probably much better off using a third party tool to compare the databases such as Redgate SQL Compare or SQL Server Data Tools or even just querying
sys.tablesandsys.columnsyourself rather than usingsp_helpthough.