I noticed when writing a sproc values inserted into a table variable were in a different order than insertion. Is there a way to disable this auto sorting without adding another column for sorting? Ideas that come to mind are an automatic index being created or some collation setting... any ideas?
Visit http://sqlfiddle.com/#!3/e1c06/13 to see exactly what I mean
declare @tmpTbl table (name varchar(100))
insert into @tmpTbl
select 'mark'
union
select 'frank'
union
select 'sharon'
union
select 'jason'
select * from @tmpTbl