fcl-db: dbtestframework:

* mssql server: improve results by setting ANSI_PADDING to ON when connecting.
See http://msdn.microsoft.com/en-us/library/ms187403.aspx

git-svn-id: trunk@27020 -
This commit is contained in:
reiniero 2014-03-07 10:26:06 +00:00
parent 7f93de8697
commit 18ae2b20df

View File

@ -241,6 +241,10 @@ begin
// having to specify NULL all the time:
// http://msdn.microsoft.com/en-us/library/ms174979.aspx
FConnection.ExecuteDirect('SET ANSI_NULL_DFLT_ON ON');
// Padding character fields is expected by ANSI and sqldb, as well as
// recommended by Microsoft:
// http://msdn.microsoft.com/en-us/library/ms187403.aspx
FConnection.ExecuteDirect('SET ANSI_PADDING ON');
end;
TempTrans.Commit;
TempTrans.Free;