I have set this little example of a strange behavior
SET NOCOUNT ON; create table #tmp (id int identity (1,1), value int); insert into
I think that by putting in an ORDER BY clause it then forces the CURSOR to be a STATIC CURSOR whereas without it defaults to DYNAMIC.