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

removing multiple items in an array

Status
Not open for further replies.

Churchill

Programmer
Jan 16, 2002
5
0
0
GB
I want to find a quick way of removing multiple instances of items in an array so that I get a distinct list of numbers.

I thought of using a loop but I wondered if there was a quicker way. Another way I thought of was to put it into a temporary table in a db, then use select distinct to pull them back out (this might be just as quick as looping?)

I'd like you're ideas please!
 
Check out thread222-68291 for a discussion Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top