I heard years ago that there are three steps to solving a problem, and the first step is to know what the problem
is. You'll need to know things like,
How big might the table be?
How big might the field you're looking for be?
Are all the fields the same length, or could the lengths vary?
How many fields might there be? Could the number of fields vary also?
etc., etc.
You probably will not find ready-made code for exactly your application. You will need to define the job better, then familiarize yourself with the processor's instruction set so you know what elements you have for the job.