[Quote=引用 20 楼 perfectaction 的回复:]
汗,原来要应用这个fix是有条件的:
This hotfix introduces trace flag 168. After you apply this hotfix, you must enable trace flag 168.
Additionally, you must change the compatibility level of the database that cont……
[/Quote]
trace flag 168是什么?
加了补丁,还必须修改兼容级别为sql2000 80?
汗,原来要应用这个fix是有条件的:
This hotfix introduces trace flag 168. After you apply this hotfix, you must enable trace flag 168.
Additionally, you must change the compatibility level of the database that contains the view to 80.
直接用语句排序正常。
但是调用视图的话,视图里面的order by发现没用。
---------------------------------------
这,是合理的行为。在Sql Server 2000里面才是不合理的。
在那个《Sql Server 2005技术内幕——T-SQL查询》中有提到。