Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8122

Re: sort table and binary search

$
0
0

if you know the unique keys then declare internal table as hashed then use keys to search. otherwise, sort then read.. binary search is best practice.

 

or if you're populating the table from SELECT then you may try to consider SELECT SINGLE or SELECT.. UP TO n ROWS.


Viewing all articles
Browse latest Browse all 8122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>