Have you ever had SQL Server 2008 return a different result set than SQL Server 2000?

前端 未结 2 1776
感情败类
感情败类 2021-01-06 11:54

I am not looking for help with the actual code of my stored procedure (yet anyway), but a client sent me a copy of his SQL Server 2000 database stating that a particular pro

相关标签:
2条回答
  • 2021-01-06 12:23

    Views with order by won't be ordered in SQl Server 2008, see here: Create a sorted view in SQL Server 2005 and SQL Server 2008

    When you say incorrect results, what do you mean? The Language of the SQl Server installation can also be factor if you pass in dates as strings and you are not using ISO/safe formats

    Could also be the ANSI settings from the connection coming in at your client's DB

    perhaps they have ANSI_NULLS OFF instead of ON

    0 讨论(0)
  • 2021-01-06 12:35

    There are so many things that could cause this problem including (but not limited to) collation and system settings. If we saw the SP we might be able to spot the culprit. In addition to changes in deployments there are differences between versions see

    http://msdn.microsoft.com/en-us/library/ms143179(v=sql.100).aspx

    and

    http://msdn.microsoft.com/en-us/library/ms143179.aspx

    0 讨论(0)
提交回复
热议问题