Latheesh is right. that there is no guarrantee for SQl server to return back the value in a particular order unless that you specifically use the Order By clause.
so to guarantee the sort order as what you want, you need to add the second or third column to Order by for example like:
select * from tabl1 order by Numer1, Alpja1
|
Blog: MSBICOE.com |
MCITP - BI, SQL Developer & DBA
Hate to mislead others, if I'm wrong slap me. Thanks!