Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi. How I can order a table by a field permanently?

Status
Not open for further replies.

omauri

Programmer
Jan 24, 2001
12
0
0
CO
Hi. I need to order a table by a field permanently, whenever I enter a new data in this table. Thanks.
 
At the risk of being flippant. Why, you can't really control how sql server is going to store the data. If you need it sorted in a particular order when you retrieve it do that then. If you are trying to optimize certain retrievals than look up clustered indexes.

 
hi,

I think may be you should consider having a 'Clustered Index' on this field. That way the data could be ordered and stored in the table. What's more it also maintains an index.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top