Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sort
Message
General information
Forum:
Microsoft SQL Server
Category:
Database management
Title:
Re: Sort
Miscellaneous
Thread ID:
00772187
Message ID:
00772230
Views:
11
Mahmood,

The records in Sql Server table are stored in no particular order. The table can only be physicaly ordered by creating clastered index. You can always use ORDER BY clause of SELECT statement to order records in any order you need.

>Hi All:
> I have a table on the server. The sort order is not right on this table.
>For example, the first row in this table has 66323 as the id and second has 66282. The rows are not in asc order. How can I order this table so the ids are in asc order?
>Thanks
>MA
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform