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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random Index

Status
Not open for further replies.

sponges1

Programmer
Aug 3, 2010
1
US
I have a stock ticker and all the symbols are in an index. They show up when I test it but they are random so the order changes when I refresh. How can I get it to go in the order in which I typed it?
 
In SQL Server there is no internal order - only using ORDER BY clause will give you the order you want.

You can add identity field to your table and order by this field.

PluralSight Learning Library
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top